summaryrefslogtreecommitdiff
path: root/keyboards/dk60/dk60.c
diff options
context:
space:
mode:
authorNick Brassel <nick@tzarc.org>2022-11-28 07:54:00 +1100
committerNick Brassel <nick@tzarc.org>2022-11-28 07:54:00 +1100
commit4020674163fc80914059c4c9c3be5c0ae00bd150 (patch)
tree6f4187d72b04d03572adf507502afbda9726d696 /keyboards/dk60/dk60.c
parent8f9b49dc5b05fd3421e47aa76822a5b2199dfca6 (diff)
parent9e78e65a566487b2f4fe7b663971a01deb6ddad2 (diff)
Merge remote-tracking branch 'upstream/develop'
Diffstat (limited to 'keyboards/dk60/dk60.c')
-rw-r--r--keyboards/dk60/dk60.c14
1 files changed, 5 insertions, 9 deletions
diff --git a/keyboards/dk60/dk60.c b/keyboards/dk60/dk60.c
index 7d9f793866..382404c032 100644
--- a/keyboards/dk60/dk60.c
+++ b/keyboards/dk60/dk60.c
@@ -44,14 +44,10 @@ void led_init_ports(void) {
setPinOutput(F0);
}
-bool led_update_kb(led_t led_state) {
- if (led_update_user(led_state)) {
- if (led_state.caps_lock) {
- dk60_caps_led_on();
- } else {
- dk60_caps_led_off();
- }
+void led_update_ports(led_t led_state) {
+ if (led_state.caps_lock) {
+ dk60_caps_led_on();
+ } else {
+ dk60_caps_led_off();
}
-
- return true;
}