Run clang-format manually to fix recently changed files (#7934)

* Run clang-format manually to fix recently changed files

* Run clang-format manually to fix recently changed files - revert template files

* Run clang-format manually to fix recently changed files - format off for ascii_to_keycode_lut
This commit is contained in:
Joel Challis
2020-01-19 16:30:34 +00:00
committed by Florian Didron
parent 141e02df88
commit 4885430361
12 changed files with 151 additions and 190 deletions

View File

@@ -435,10 +435,10 @@ void rgb_matrix_init(void) {
}
void rgb_matrix_set_suspend_state(bool state) {
if (state && RGB_DISABLE_WHEN_USB_SUSPENDED) {
rgb_matrix_set_color_all(0, 0, 0);
}
g_suspend_state = state;
if (RGB_DISABLE_WHEN_USB_SUSPENDED && state) {
rgb_matrix_set_color_all(0, 0, 0); // turn off all LEDs when suspending
}
g_suspend_state = state;
}
void rgb_matrix_toggle(void) {