aboutsummaryrefslogtreecommitdiff
path: root/layouts/community/ergodox/drashna/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/community/ergodox/drashna/keymap.c')
-rw-r--r--layouts/community/ergodox/drashna/keymap.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/layouts/community/ergodox/drashna/keymap.c b/layouts/community/ergodox/drashna/keymap.c
index e7f43ad66..26c2e3304 100644
--- a/layouts/community/ergodox/drashna/keymap.c
+++ b/layouts/community/ergodox/drashna/keymap.c
@@ -405,10 +405,8 @@ void rgb_matrix_layer_helper (uint8_t red, uint8_t green, uint8_t blue) {
405 rgb_led led; 405 rgb_led led;
406 for (int i = 0; i < DRIVER_LED_TOTAL; i++) { 406 for (int i = 0; i < DRIVER_LED_TOTAL; i++) {
407 led = g_rgb_leds[i]; 407 led = g_rgb_leds[i];
408 if (led.matrix_co.raw < 0xFF) { 408 if (HAS_FLAGS(led.flags, LED_FLAG_MODIFIER)) {
409 if (led.modifier) { 409 rgb_matrix_set_color( i, red, green, blue );
410 rgb_matrix_set_color( i, red, green, blue );
411 }
412 } 410 }
413 } 411 }
414} 412}