Get rid of USB_LED_CAPS_LOCK (#21436)
This commit is contained in:
@@ -51,10 +51,11 @@ void matrix_init_user(void) {
|
||||
writePinLow(B0);
|
||||
}
|
||||
|
||||
void led_set_user(uint8_t usb_led) {
|
||||
if (IS_LED_ON(usb_led, USB_LED_CAPS_LOCK)) {
|
||||
bool led_update_user(led_t led_state) {
|
||||
if (led_state.caps_lock) {
|
||||
writePinHigh(B0);
|
||||
} else {
|
||||
writePinLow(B0);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user