summaryrefslogtreecommitdiff
path: root/tmk_core/common/chibios
diff options
context:
space:
mode:
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2021-04-29 13:36:47 +1000
committerGitHub <noreply@github.com>2021-04-29 13:36:47 +1000
commit39bc8163d013b5c7e148b7e95b3883dc0adb95ba (patch)
treec58437419875641985bbbf8f1434b3a0d58ecde6 /tmk_core/common/chibios
parentd8167779cdfb243cb140782210d2cc6a7cb9b123 (diff)
[CI] Format code according to conventions (#12731)
Co-authored-by: QMK Bot <hello@qmk.fm>
Diffstat (limited to 'tmk_core/common/chibios')
-rw-r--r--tmk_core/common/chibios/suspend.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tmk_core/common/chibios/suspend.c b/tmk_core/common/chibios/suspend.c
index 1f4f93c455..14a9aecb31 100644
--- a/tmk_core/common/chibios/suspend.c
+++ b/tmk_core/common/chibios/suspend.c
@@ -83,9 +83,9 @@ void suspend_power_down(void) {
#if defined(RGBLIGHT_SLEEP) && defined(RGBLIGHT_ENABLE)
rgblight_suspend();
#endif
-# if defined(RGB_MATRIX_ENABLE)
+#if defined(RGB_MATRIX_ENABLE)
rgb_matrix_set_suspend_state(true);
-# endif
+#endif
#ifdef AUDIO_ENABLE
stop_all_notes();
#endif /* AUDIO_ENABLE */
@@ -154,8 +154,8 @@ void suspend_wakeup_init(void) {
#if defined(RGBLIGHT_SLEEP) && defined(RGBLIGHT_ENABLE)
rgblight_wakeup();
#endif
-# if defined(RGB_MATRIX_ENABLE)
+#if defined(RGB_MATRIX_ENABLE)
rgb_matrix_set_suspend_state(false);
-# endif
+#endif
suspend_wakeup_init_kb();
}