diff options
Diffstat (limited to 'tmk_core')
| -rw-r--r-- | tmk_core/protocol/arm_atsam/led_matrix.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tmk_core/protocol/arm_atsam/led_matrix.c b/tmk_core/protocol/arm_atsam/led_matrix.c index e29fb6587..a2eab1b56 100644 --- a/tmk_core/protocol/arm_atsam/led_matrix.c +++ b/tmk_core/protocol/arm_atsam/led_matrix.c | |||
| @@ -443,9 +443,9 @@ static void led_matrix_massdrop_config_override(int i) | |||
| 443 | 443 | ||
| 444 | uint8_t highest_active_layer = biton32(layer_state); | 444 | uint8_t highest_active_layer = biton32(layer_state); |
| 445 | 445 | ||
| 446 | if (led_lighting_mode == LED_MODE_KEYS_ONLY && g_rgb_leds[i].matrix_co.raw == 0xff) { | 446 | if (led_lighting_mode == LED_MODE_KEYS_ONLY && HAS_FLAGS(g_rgb_leds[i].flags, LED_FLAG_UNDERGLOW)) { |
| 447 | //Do not act on this LED | 447 | //Do not act on this LED |
| 448 | } else if (led_lighting_mode == LED_MODE_NON_KEYS_ONLY && g_rgb_leds[i].matrix_co.raw != 0xff) { | 448 | } else if (led_lighting_mode == LED_MODE_NON_KEYS_ONLY && !HAS_FLAGS(g_rgb_leds[i].flags, LED_FLAG_UNDERGLOW)) { |
| 449 | //Do not act on this LED | 449 | //Do not act on this LED |
| 450 | } else if (led_lighting_mode == LED_MODE_INDICATORS_ONLY) { | 450 | } else if (led_lighting_mode == LED_MODE_INDICATORS_ONLY) { |
| 451 | //Do not act on this LED (Only show indicators) | 451 | //Do not act on this LED (Only show indicators) |
