diff options
author | Joel Challis <git@zvecr.com> | 2020-01-19 16:30:34 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-19 16:30:34 +0000 |
commit | 667045b4928badaedb38f535d885a46ff8a454fb (patch) | |
tree | 5ae5e7002381a7359eabe627b936f0c253e2822e /quantum/rgb_matrix.c | |
parent | f5209aa4e941c7f3a942ef4a7e256ab432ec98ce (diff) | |
download | qmk_firmware-667045b4928badaedb38f535d885a46ff8a454fb.tar.gz qmk_firmware-667045b4928badaedb38f535d885a46ff8a454fb.zip |
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
Diffstat (limited to 'quantum/rgb_matrix.c')
-rw-r--r-- | quantum/rgb_matrix.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/quantum/rgb_matrix.c b/quantum/rgb_matrix.c index 25ca44054..1a9cf82e5 100644 --- a/quantum/rgb_matrix.c +++ b/quantum/rgb_matrix.c | |||
@@ -434,11 +434,11 @@ void rgb_matrix_init(void) { | |||
434 | eeconfig_debug_rgb_matrix(); // display current eeprom values | 434 | eeconfig_debug_rgb_matrix(); // display current eeprom values |
435 | } | 435 | } |
436 | 436 | ||
437 | void rgb_matrix_set_suspend_state(bool state) { | 437 | void rgb_matrix_set_suspend_state(bool state) { |
438 | if (RGB_DISABLE_WHEN_USB_SUSPENDED && state) { | 438 | if (RGB_DISABLE_WHEN_USB_SUSPENDED && state) { |
439 | rgb_matrix_set_color_all(0, 0, 0); // turn off all LEDs when suspending | 439 | rgb_matrix_set_color_all(0, 0, 0); // turn off all LEDs when suspending |
440 | } | 440 | } |
441 | g_suspend_state = state; | 441 | g_suspend_state = state; |
442 | } | 442 | } |
443 | 443 | ||
444 | void rgb_matrix_toggle(void) { | 444 | void rgb_matrix_toggle(void) { |