summaryrefslogtreecommitdiff
path: root/keyboards/helix/rev3_4rows/rev3_4rows.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/helix/rev3_4rows/rev3_4rows.c')
-rw-r--r--keyboards/helix/rev3_4rows/rev3_4rows.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/keyboards/helix/rev3_4rows/rev3_4rows.c b/keyboards/helix/rev3_4rows/rev3_4rows.c
index 884c244e30..7b32941106 100644
--- a/keyboards/helix/rev3_4rows/rev3_4rows.c
+++ b/keyboards/helix/rev3_4rows/rev3_4rows.c
@@ -30,6 +30,7 @@ void set_mac_mode(bool macmode) {
eeconfig_update_keymap(keymap_config.raw);
}
+#ifdef DIP_SWITCH_ENABLE
bool dip_switch_update_kb(uint8_t index, bool active) {
switch (index) {
case 0:
@@ -45,3 +46,4 @@ bool dip_switch_update_kb(uint8_t index, bool active) {
}
return true;
}
+#endif