summaryrefslogtreecommitdiff
path: root/tmk_core
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
parentd8167779cdfb243cb140782210d2cc6a7cb9b123 (diff)
[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.c4
-rw-r--r--tmk_core/common/chibios/suspend.c8
2 files changed, 6 insertions, 6 deletions
diff --git a/tmk_core/common/avr/suspend.c b/tmk_core/common/avr/suspend.c
index 1c2bf9cb46..e9ee0aefdd 100644
--- a/tmk_core/common/avr/suspend.c
+++ b/tmk_core/common/avr/suspend.c
@@ -218,9 +218,9 @@ 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();
}
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();
}