diff options
| author | Joel Challis | 2024-06-25 04:25:05 +0200 |
|---|---|---|
| committer | GitHub | 2024-06-25 04:25:05 +0200 |
| commit | a2176f6a039b5f92ba4cb473f7a2de560b57dd86 (patch) | |
| tree | d463c13b44a4139b619c2b3e4a9abab929bd1465 /keyboards/punk75/keymaps | |
| parent | 751482580ed992acdbafc262c281e5d179cebe69 (diff) | |
Migrate `led_update_kb` implementations to DD (#23985)
Diffstat (limited to 'keyboards/punk75/keymaps')
| -rw-r--r-- | keyboards/punk75/keymaps/default/keymap.c | 2 | ||||
| -rw-r--r-- | keyboards/punk75/keymaps/via/keymap.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/punk75/keymaps/default/keymap.c b/keyboards/punk75/keymaps/default/keymap.c index 9a6ef29307..57f00e1e61 100644 --- a/keyboards/punk75/keymaps/default/keymap.c +++ b/keyboards/punk75/keymaps/default/keymap.c @@ -74,7 +74,7 @@ void led_keypress_update(pin_t led_pin, uint16_t keycode, keyrecord_t *record) { bool process_record_user(uint16_t keycode, keyrecord_t *record) { // Update LED state - led_keypress_update(LED, keycode, record); + led_keypress_update(LED_CAPS_LOCK_PIN, keycode, record); return true; } diff --git a/keyboards/punk75/keymaps/via/keymap.c b/keyboards/punk75/keymaps/via/keymap.c index 72ef91fd37..214135b55d 100644 --- a/keyboards/punk75/keymaps/via/keymap.c +++ b/keyboards/punk75/keymaps/via/keymap.c @@ -69,7 +69,7 @@ void led_keypress_update(pin_t led_pin, uint16_t keycode, keyrecord_t *record) { bool process_record_user(uint16_t keycode, keyrecord_t *record) { // Update LED state - led_keypress_update(LED, keycode, record); + led_keypress_update(LED_CAPS_LOCK_PIN, keycode, record); return true; } |