aboutsummaryrefslogtreecommitdiff
path: root/keyboards/preonic/rev3/rev3.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/preonic/rev3/rev3.c')
-rw-r--r--keyboards/preonic/rev3/rev3.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/keyboards/preonic/rev3/rev3.c b/keyboards/preonic/rev3/rev3.c
index ec8a56108..0410d9a29 100644
--- a/keyboards/preonic/rev3/rev3.c
+++ b/keyboards/preonic/rev3/rev3.c
@@ -53,11 +53,11 @@ void matrix_scan_kb(void) {
53 53
54#ifdef DIP_SWITCH_ENABLE 54#ifdef DIP_SWITCH_ENABLE
55 __attribute__((weak)) 55 __attribute__((weak))
56void dip_update(uint8_t index, bool active) {} 56bool dip_update(uint8_t index, bool active) { return true;}
57 57
58 __attribute__((weak)) 58 __attribute__((weak))
59void dip_switch_update_user(uint8_t index, bool active) { 59bool dip_switch_update_user(uint8_t index, bool active) {
60 dip_update(index, active); 60 return dip_update(index, active);
61} 61}
62#endif 62#endif
63 63