summaryrefslogtreecommitdiff
path: root/keyboards/handwired/frenchdev/keymaps
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/handwired/frenchdev/keymaps')
-rw-r--r--keyboards/handwired/frenchdev/keymaps/default/keymap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/keyboards/handwired/frenchdev/keymaps/default/keymap.c b/keyboards/handwired/frenchdev/keymaps/default/keymap.c
index e5a5dcc6c1..60e355f290 100644
--- a/keyboards/handwired/frenchdev/keymaps/default/keymap.c
+++ b/keyboards/handwired/frenchdev/keymaps/default/keymap.c
@@ -351,11 +351,11 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
return true;
}
-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){
frenchdev_led_3_on();
} else {
frenchdev_led_3_off();
}
- return ;
+ return false;
}