summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMakotoKurauchi <pluis@me.com>2021-07-31 18:51:32 +0900
committerGitHub <noreply@github.com>2021-07-31 18:51:32 +0900
commitfb6c66a14b3b7eb51381b938aa96dd56718d0e17 (patch)
treeb485a689a13f0e3da47cae156223bde4da5f5e8b
parentec2f6026b906b0d2aa19d2bf55f4aefa74f5149e (diff)
change DIP_SWITCH_ENABLE to off (#13815)
-rw-r--r--keyboards/helix/rev3_4rows/rev3_4rows.c2
-rw-r--r--keyboards/helix/rev3_4rows/rules.mk2
-rw-r--r--keyboards/helix/rev3_5rows/rev3_5rows.c2
-rw-r--r--keyboards/helix/rev3_5rows/rules.mk2
4 files changed, 6 insertions, 2 deletions
diff --git a/keyboards/helix/rev3_4rows/rev3_4rows.c b/keyboards/helix/rev3_4rows/rev3_4rows.c
index c034c83381..4477b39226 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
void dip_switch_update_kb(uint8_t index, bool active) {
switch (index) {
case 0:
@@ -44,3 +45,4 @@ void dip_switch_update_kb(uint8_t index, bool active) {
break;
}
}
+#endif
diff --git a/keyboards/helix/rev3_4rows/rules.mk b/keyboards/helix/rev3_4rows/rules.mk
index a5916c114d..530d1d750e 100644
--- a/keyboards/helix/rev3_4rows/rules.mk
+++ b/keyboards/helix/rev3_4rows/rules.mk
@@ -5,7 +5,7 @@ RGB_MATRIX_ENABLE = no
RGB_MATRIX_DRIVER = WS2812
OLED_DRIVER_ENABLE = yes
ENCODER_ENABLE = yes
-DIP_SWITCH_ENABLE = yes
+DIP_SWITCH_ENABLE = no
LTO_ENABLE = yes
SRC += oled_display.c
diff --git a/keyboards/helix/rev3_5rows/rev3_5rows.c b/keyboards/helix/rev3_5rows/rev3_5rows.c
index c034c83381..4477b39226 100644
--- a/keyboards/helix/rev3_5rows/rev3_5rows.c
+++ b/keyboards/helix/rev3_5rows/rev3_5rows.c
@@ -30,6 +30,7 @@ void set_mac_mode(bool macmode) {
eeconfig_update_keymap(keymap_config.raw);
}
+#ifdef DIP_SWITCH_ENABLE
void dip_switch_update_kb(uint8_t index, bool active) {
switch (index) {
case 0:
@@ -44,3 +45,4 @@ void dip_switch_update_kb(uint8_t index, bool active) {
break;
}
}
+#endif
diff --git a/keyboards/helix/rev3_5rows/rules.mk b/keyboards/helix/rev3_5rows/rules.mk
index a5916c114d..530d1d750e 100644
--- a/keyboards/helix/rev3_5rows/rules.mk
+++ b/keyboards/helix/rev3_5rows/rules.mk
@@ -5,7 +5,7 @@ RGB_MATRIX_ENABLE = no
RGB_MATRIX_DRIVER = WS2812
OLED_DRIVER_ENABLE = yes
ENCODER_ENABLE = yes
-DIP_SWITCH_ENABLE = yes
+DIP_SWITCH_ENABLE = no
LTO_ENABLE = yes
SRC += oled_display.c