diff options
author | Florian Didron <florian@111studio.jp> | 2019-08-15 15:07:48 +0900 |
---|---|---|
committer | Florian Didron <fdidron@users.noreply.github.com> | 2019-08-15 23:40:31 +0000 |
commit | 7215cb932b211cafc11a6323c03a6e19f6ad5f1b (patch) | |
tree | f82bb4312dd0be910986da67f5334b80887abb9c /keyboards/ergodox_ez | |
parent | a587846d9723e7408fa60831e418a84ae84b705f (diff) |
fix: shutdown all leds before suspend
Diffstat (limited to 'keyboards/ergodox_ez')
-rw-r--r-- | keyboards/ergodox_ez/ergodox_ez.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/keyboards/ergodox_ez/ergodox_ez.c b/keyboards/ergodox_ez/ergodox_ez.c index a67707895d..f755f792c5 100644 --- a/keyboards/ergodox_ez/ergodox_ez.c +++ b/keyboards/ergodox_ez/ergodox_ez.c @@ -222,6 +222,7 @@ const keypos_t hand_swap_config[MATRIX_ROWS][MATRIX_COLS] = { #ifdef RGB_MATRIX_ENABLE void suspend_power_down_kb(void) { + rgb_matrix_set_color_all(0, 0, 0); rgb_matrix_set_suspend_state(true); suspend_power_down_user(); } |