summaryrefslogtreecommitdiff
path: root/keyboards/planck/ez
diff options
context:
space:
mode:
authorFlorian Didron <florian@111studio.jp>2019-08-15 15:07:48 +0900
committerFlorian Didron <fdidron@users.noreply.github.com>2019-08-15 23:40:31 +0000
commit7215cb932b211cafc11a6323c03a6e19f6ad5f1b (patch)
treef82bb4312dd0be910986da67f5334b80887abb9c /keyboards/planck/ez
parenta587846d9723e7408fa60831e418a84ae84b705f (diff)
fix: shutdown all leds before suspend
Diffstat (limited to 'keyboards/planck/ez')
-rw-r--r--keyboards/planck/ez/ez.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/keyboards/planck/ez/ez.c b/keyboards/planck/ez/ez.c
index 79310da10a..722304732d 100644
--- a/keyboards/planck/ez/ez.c
+++ b/keyboards/planck/ez/ez.c
@@ -22,6 +22,7 @@ keyboard_config_t keyboard_config;
#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();
}