diff options
| author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2021-04-29 13:36:47 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-29 13:36:47 +1000 |
| commit | 39bc8163d013b5c7e148b7e95b3883dc0adb95ba (patch) | |
| tree | c58437419875641985bbbf8f1434b3a0d58ecde6 /tmk_core | |
| parent | d8167779cdfb243cb140782210d2cc6a7cb9b123 (diff) | |
| download | qmk_firmware-39bc8163d013b5c7e148b7e95b3883dc0adb95ba.tar.gz qmk_firmware-39bc8163d013b5c7e148b7e95b3883dc0adb95ba.zip | |
[CI] Format code according to conventions (#12731)
Co-authored-by: QMK Bot <hello@qmk.fm>
Diffstat (limited to 'tmk_core')
| -rw-r--r-- | tmk_core/common/avr/suspend.c | 4 | ||||
| -rw-r--r-- | tmk_core/common/chibios/suspend.c | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/tmk_core/common/avr/suspend.c b/tmk_core/common/avr/suspend.c index 1c2bf9cb4..e9ee0aefd 100644 --- a/tmk_core/common/avr/suspend.c +++ b/tmk_core/common/avr/suspend.c | |||
| @@ -218,9 +218,9 @@ void suspend_wakeup_init(void) { | |||
| 218 | #if defined(RGBLIGHT_SLEEP) && defined(RGBLIGHT_ENABLE) | 218 | #if defined(RGBLIGHT_SLEEP) && defined(RGBLIGHT_ENABLE) |
| 219 | rgblight_wakeup(); | 219 | rgblight_wakeup(); |
| 220 | #endif | 220 | #endif |
| 221 | # if defined(RGB_MATRIX_ENABLE) | 221 | #if defined(RGB_MATRIX_ENABLE) |
| 222 | rgb_matrix_set_suspend_state(false); | 222 | rgb_matrix_set_suspend_state(false); |
| 223 | # endif | 223 | #endif |
| 224 | 224 | ||
| 225 | suspend_wakeup_init_kb(); | 225 | suspend_wakeup_init_kb(); |
| 226 | } | 226 | } |
diff --git a/tmk_core/common/chibios/suspend.c b/tmk_core/common/chibios/suspend.c index 1f4f93c45..14a9aecb3 100644 --- a/tmk_core/common/chibios/suspend.c +++ b/tmk_core/common/chibios/suspend.c | |||
| @@ -83,9 +83,9 @@ void suspend_power_down(void) { | |||
| 83 | #if defined(RGBLIGHT_SLEEP) && defined(RGBLIGHT_ENABLE) | 83 | #if defined(RGBLIGHT_SLEEP) && defined(RGBLIGHT_ENABLE) |
| 84 | rgblight_suspend(); | 84 | rgblight_suspend(); |
| 85 | #endif | 85 | #endif |
| 86 | # if defined(RGB_MATRIX_ENABLE) | 86 | #if defined(RGB_MATRIX_ENABLE) |
| 87 | rgb_matrix_set_suspend_state(true); | 87 | rgb_matrix_set_suspend_state(true); |
| 88 | # endif | 88 | #endif |
| 89 | #ifdef AUDIO_ENABLE | 89 | #ifdef AUDIO_ENABLE |
| 90 | stop_all_notes(); | 90 | stop_all_notes(); |
| 91 | #endif /* AUDIO_ENABLE */ | 91 | #endif /* AUDIO_ENABLE */ |
| @@ -154,8 +154,8 @@ void suspend_wakeup_init(void) { | |||
| 154 | #if defined(RGBLIGHT_SLEEP) && defined(RGBLIGHT_ENABLE) | 154 | #if defined(RGBLIGHT_SLEEP) && defined(RGBLIGHT_ENABLE) |
| 155 | rgblight_wakeup(); | 155 | rgblight_wakeup(); |
| 156 | #endif | 156 | #endif |
| 157 | # if defined(RGB_MATRIX_ENABLE) | 157 | #if defined(RGB_MATRIX_ENABLE) |
| 158 | rgb_matrix_set_suspend_state(false); | 158 | rgb_matrix_set_suspend_state(false); |
| 159 | # endif | 159 | #endif |
| 160 | suspend_wakeup_init_kb(); | 160 | suspend_wakeup_init_kb(); |
| 161 | } | 161 | } |
