diff options
author | Ryan <fauxpark@gmail.com> | 2023-07-06 18:48:02 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-06 09:48:02 +0100 |
commit | 87b11345a55d076966846d87b60d0f315b8bb984 (patch) | |
tree | a64503358d5f30b55a722b882eebaf1b60b03e1f /keyboards/converter | |
parent | 928e03e8d669cb35a96c2aa4a09012c527b27892 (diff) |
Get rid of `USB_LED_CAPS_LOCK` (#21436)
Diffstat (limited to 'keyboards/converter')
-rw-r--r-- | keyboards/converter/siemens_tastatur/keymaps/default/keymap.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/keyboards/converter/siemens_tastatur/keymaps/default/keymap.c b/keyboards/converter/siemens_tastatur/keymaps/default/keymap.c index 0ce8a64ab7..0f3911a2d3 100644 --- a/keyboards/converter/siemens_tastatur/keymaps/default/keymap.c +++ b/keyboards/converter/siemens_tastatur/keymaps/default/keymap.c @@ -51,10 +51,11 @@ void matrix_init_user(void) { writePinLow(B0); } -void led_set_user(uint8_t usb_led) { - if (IS_LED_ON(usb_led, USB_LED_CAPS_LOCK)) { +bool led_update_user(led_t led_state) { + if (led_state.caps_lock) { writePinHigh(B0); } else { writePinLow(B0); } + return false; } |