Get rid of USB_LED_NUM_LOCK (#21424)

This commit is contained in:
Ryan
2023-07-03 04:35:41 +10:00
committed by GitHub
parent 7ff80a57cb
commit 9ab16e62f7
25 changed files with 91 additions and 133 deletions
+2 -2
View File
@@ -89,8 +89,8 @@ tap_dance_action_t tap_dance_actions[] = {
[ALT_L1] = ACTION_TAP_DANCE_FN_ADVANCED(NULL,alt_finished, alt_reset)
};
void led_set_keymap(uint8_t usb_led) {
if (usb_led & (1<<USB_LED_NUM_LOCK)) {
bool led_update_keymap(led_t led_state) {
if (led_state.num_lock) {
numlock_on = true;
}
else {