summaryrefslogtreecommitdiff
path: root/keyboards/ergodox_ez
diff options
context:
space:
mode:
authorFlorian Didron <florian@111studio.jp>2019-08-17 11:36:54 +0900
committerFlorian Didron <fdidron@users.noreply.github.com>2019-08-17 02:42:35 +0000
commit8f065c420bed3818197ac7c33118e9253be68711 (patch)
tree90c54ef41f986ab974170a2f51377c9c4f16907b /keyboards/ergodox_ez
parent76ba4c4fa5f7908394c46063d53f676293ee70eb (diff)
chore: move led shutdown logic in rgb_matric.c
Diffstat (limited to 'keyboards/ergodox_ez')
-rw-r--r--keyboards/ergodox_ez/ergodox_ez.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/keyboards/ergodox_ez/ergodox_ez.c b/keyboards/ergodox_ez/ergodox_ez.c
index 3c6653a9f6..a67707895d 100644
--- a/keyboards/ergodox_ez/ergodox_ez.c
+++ b/keyboards/ergodox_ez/ergodox_ez.c
@@ -222,9 +222,6 @@ const keypos_t hand_swap_config[MATRIX_ROWS][MATRIX_COLS] = {
#ifdef RGB_MATRIX_ENABLE
void suspend_power_down_kb(void) {
-#if RGB_DISABLE_WHEN_USB_SUSPENDED == true
- rgb_matrix_set_color_all(0, 0, 0);
-#endif
rgb_matrix_set_suspend_state(true);
suspend_power_down_user();
}