Get rid of USB_LED_NUM_LOCK (#21424)
This commit is contained in:
@@ -377,13 +377,7 @@ layer_state_t layer_state_set_user(layer_state_t state) {
|
||||
*/
|
||||
|
||||
|
||||
void led_set_user(uint8_t usb_led) {
|
||||
|
||||
if (usb_led & (1 << USB_LED_NUM_LOCK)) {
|
||||
bnumlock = true;
|
||||
|
||||
} else {
|
||||
bnumlock = false;
|
||||
}
|
||||
|
||||
bool led_update_user(led_t led_state) {
|
||||
bnumlock = led_state.num_lock;
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user