summaryrefslogtreecommitdiff
path: root/keyboards/noxary/268/keymaps/iso/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/noxary/268/keymaps/iso/keymap.c')
-rw-r--r--keyboards/noxary/268/keymaps/iso/keymap.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/keyboards/noxary/268/keymaps/iso/keymap.c b/keyboards/noxary/268/keymaps/iso/keymap.c
index 410883dd54..76462bf7fe 100644
--- a/keyboards/noxary/268/keymaps/iso/keymap.c
+++ b/keyboards/noxary/268/keymaps/iso/keymap.c
@@ -52,12 +52,13 @@ 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);
} else {
setPinInput(B6);
writePinLow(B6);
}
+ return false;
}