[CI] Format code according to conventions (#12731)

Co-authored-by: QMK Bot <[email protected]>
This commit is contained in:
github-actions[bot]andQMK Bot authored and GitHub committed 2021-04-29 13:36:47 +10:00
1 parent d8167779cd
commit 39bc8163d0
4 files changed
+14 -16

No files matched your search

+2 -2
View File
@@ -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();
}
+4 -4
View File
@@ -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();
}