diff options
Diffstat (limited to 'keyboards/preonic/rev3/rev3.c')
| -rw-r--r-- | keyboards/preonic/rev3/rev3.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/keyboards/preonic/rev3/rev3.c b/keyboards/preonic/rev3/rev3.c index b61beec5d..dc4ff66fc 100644 --- a/keyboards/preonic/rev3/rev3.c +++ b/keyboards/preonic/rev3/rev3.c | |||
| @@ -22,3 +22,13 @@ void matrix_init_kb(void) { | |||
| 22 | void matrix_scan_kb(void) { | 22 | void matrix_scan_kb(void) { |
| 23 | matrix_scan_user(); | 23 | matrix_scan_user(); |
| 24 | } | 24 | } |
| 25 | |||
| 26 | #ifdef DIP_SWITCH_ENABLE | ||
| 27 | __attribute__((weak)) | ||
| 28 | void dip_update(uint8_t index, bool active) {} | ||
| 29 | |||
| 30 | __attribute__((weak)) | ||
| 31 | void dip_switch_update_user(uint8_t index, bool active) { | ||
| 32 | dip_update(index, active); | ||
| 33 | } | ||
| 34 | #endif | ||
