summaryrefslogtreecommitdiff
path: root/keyboards/contra/keymaps/maxr1998/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/contra/keymaps/maxr1998/keymap.c')
-rw-r--r--keyboards/contra/keymaps/maxr1998/keymap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/contra/keymaps/maxr1998/keymap.c b/keyboards/contra/keymaps/maxr1998/keymap.c
index 044ed0c0cb..df3f7ea591 100644
--- a/keyboards/contra/keymaps/maxr1998/keymap.c
+++ b/keyboards/contra/keymaps/maxr1998/keymap.c
@@ -179,7 +179,7 @@ void update_tri_layer_user(void) {
void led_set_user(uint8_t usb_led) {
// Force-enable Numlock
if (!(usb_led & (1<<USB_LED_NUM_LOCK))) {
- register_code(KC_NUMLOCK);
- unregister_code(KC_NUMLOCK);
+ register_code(KC_NUM_LOCK);
+ unregister_code(KC_NUM_LOCK);
}
}