diff options
Diffstat (limited to 'keyboards/preonic/rev3/rev3.c')
| -rw-r--r-- | keyboards/preonic/rev3/rev3.c | 6 |
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)) |
| 56 | void dip_update(uint8_t index, bool active) {} | 56 | bool dip_update(uint8_t index, bool active) { return true;} |
| 57 | 57 | ||
| 58 | __attribute__((weak)) | 58 | __attribute__((weak)) |
| 59 | void dip_switch_update_user(uint8_t index, bool active) { | 59 | bool 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 | ||
