summaryrefslogtreecommitdiff
path: root/keyboards/noxary/268/keymaps/default/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/noxary/268/keymaps/default/keymap.c')
-rw-r--r--keyboards/noxary/268/keymaps/default/keymap.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/keyboards/noxary/268/keymaps/default/keymap.c b/keyboards/noxary/268/keymaps/default/keymap.c
index 571396f21d..9023c6f81f 100644
--- a/keyboards/noxary/268/keymaps/default/keymap.c
+++ b/keyboards/noxary/268/keymaps/default/keymap.c
@@ -70,8 +70,8 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
};
-void led_set_user(uint8_t usb_led) {
- if (usb_led & (1 << USB_LED_CAPS_LOCK)) {
+bool led_update_user(led_t led_state) {
+ if (led_state.caps_lock) {
setPinOutput(B6);
writePinHigh(B6);
}
@@ -79,4 +79,5 @@ void led_set_user(uint8_t usb_led) {
setPinInput(B6);
writePinLow(B6);
}
+ return false;
}