aboutsummaryrefslogtreecommitdiffstats
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.c10
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) {
void matrix_scan_kb(void) {
matrix_scan_user();
}
+
+#ifdef DIP_SWITCH_ENABLE
+ __attribute__((weak))
+void dip_update(uint8_t index, bool active) {}
+
+ __attribute__((weak))
+void dip_switch_update_user(uint8_t index, bool active) {
+ dip_update(index, active);
+}
+#endif