diff options
Diffstat (limited to 'keyboards/planck/rev6/rev6.c')
-rw-r--r-- | keyboards/planck/rev6/rev6.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/keyboards/planck/rev6/rev6.c b/keyboards/planck/rev6/rev6.c index 4f2ff8681..e6c49ae1c 100644 --- a/keyboards/planck/rev6/rev6.c +++ b/keyboards/planck/rev6/rev6.c | |||
@@ -61,10 +61,10 @@ void matrix_scan_kb(void) { | |||
61 | 61 | ||
62 | #ifdef DIP_SWITCH_ENABLE | 62 | #ifdef DIP_SWITCH_ENABLE |
63 | __attribute__((weak)) | 63 | __attribute__((weak)) |
64 | void dip_update(uint8_t index, bool active) {} | 64 | bool dip_update(uint8_t index, bool active) { return true; } |
65 | 65 | ||
66 | __attribute__((weak)) | 66 | __attribute__((weak)) |
67 | void dip_switch_update_user(uint8_t index, bool active) { | 67 | bool dip_switch_update_user(uint8_t index, bool active) { |
68 | dip_update(index, active); | 68 | return dip_update(index, active); |
69 | } | 69 | } |
70 | #endif | 70 | #endif |