Skip to content

Commit

Permalink
Update massdrop/alt and arm_atsam/led_matrix to fix qmk#10813 (qmk#10818
Browse files Browse the repository at this point in the history
)

* Update massdrop/alt keyboard to fix Caps Lock LED flickering.

* Fix Caps-lock LED during underglow-only for massdrop/ctrl

* Update keyboards/massdrop/ctrl/keymaps/default/keymap.c
  • Loading branch information
Chris Merrill committed Nov 9, 2020
1 parent 4e3ea80 commit b49ca11
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions tmk_core/protocol/arm_atsam/led_matrix.c
Original file line number Diff line number Diff line change
Expand Up @@ -311,9 +311,11 @@ void led_matrix_indicators(void) {
(led_map[i].scan == USB_LED_KANA_SCANCODE && (kbled & (1 << USB_LED_KANA))) ||
#endif // KANA
(0)) {
led_buffer[i].r = 255 - led_buffer[i].r;
led_buffer[i].g = 255 - led_buffer[i].g;
led_buffer[i].b = 255 - led_buffer[i].b;
if (rgb_matrix_get_flags() & LED_FLAG_INDICATOR) {
led_buffer[i].r = 255 - led_buffer[i].r;
led_buffer[i].g = 255 - led_buffer[i].g;
led_buffer[i].b = 255 - led_buffer[i].b;
}
}
}
}
Expand Down

0 comments on commit b49ca11

Please sign in to comment.