aboutsummaryrefslogtreecommitdiff
path: root/keyboards/dztech/dz60rgb/keymaps/hhkb_iso/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/dztech/dz60rgb/keymaps/hhkb_iso/keymap.c')
-rw-r--r--keyboards/dztech/dz60rgb/keymaps/hhkb_iso/keymap.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/keyboards/dztech/dz60rgb/keymaps/hhkb_iso/keymap.c b/keyboards/dztech/dz60rgb/keymaps/hhkb_iso/keymap.c
index 772eddf07..4575eb19d 100644
--- a/keyboards/dztech/dz60rgb/keymaps/hhkb_iso/keymap.c
+++ b/keyboards/dztech/dz60rgb/keymaps/hhkb_iso/keymap.c
@@ -43,10 +43,8 @@ void rgb_matrix_layer_helper (uint8_t red, uint8_t green, uint8_t blue, bool def
43 rgb_led led; 43 rgb_led led;
44 for (int i = 0; i < DRIVER_LED_TOTAL; i++) { 44 for (int i = 0; i < DRIVER_LED_TOTAL; i++) {
45 led = g_rgb_leds[i]; 45 led = g_rgb_leds[i];
46 if (led.matrix_co.raw < 0xFF) { 46 if (HAS_FLAGS(led.flags, LED_FLAG_MODIFIER)) {
47 if (led.modifier) { 47 rgb_matrix_set_color( i, red, green, blue );
48 rgb_matrix_set_color( i, red, green, blue );
49 }
50 } 48 }
51 } 49 }
52} 50}