aboutsummaryrefslogtreecommitdiff
path: root/keyboards/helix/rev3_4rows
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 /keyboards/helix/rev3_4rows
parentec2f6026b906b0d2aa19d2bf55f4aefa74f5149e (diff)
downloadqmk_firmware-fb6c66a14b3b7eb51381b938aa96dd56718d0e17.tar.gz
qmk_firmware-fb6c66a14b3b7eb51381b938aa96dd56718d0e17.zip
change DIP_SWITCH_ENABLE to off (#13815)
Diffstat (limited to 'keyboards/helix/rev3_4rows')
-rw-r--r--keyboards/helix/rev3_4rows/rev3_4rows.c2
-rw-r--r--keyboards/helix/rev3_4rows/rules.mk2
2 files changed, 3 insertions, 1 deletions
diff --git a/keyboards/helix/rev3_4rows/rev3_4rows.c b/keyboards/helix/rev3_4rows/rev3_4rows.c
index c034c8338..4477b3922 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) {
30 eeconfig_update_keymap(keymap_config.raw); 30 eeconfig_update_keymap(keymap_config.raw);
31} 31}
32 32
33#ifdef DIP_SWITCH_ENABLE
33void dip_switch_update_kb(uint8_t index, bool active) { 34void dip_switch_update_kb(uint8_t index, bool active) {
34 switch (index) { 35 switch (index) {
35 case 0: 36 case 0:
@@ -44,3 +45,4 @@ void dip_switch_update_kb(uint8_t index, bool active) {
44 break; 45 break;
45 } 46 }
46} 47}
48#endif
diff --git a/keyboards/helix/rev3_4rows/rules.mk b/keyboards/helix/rev3_4rows/rules.mk
index a5916c114..530d1d750 100644
--- a/keyboards/helix/rev3_4rows/rules.mk
+++ b/keyboards/helix/rev3_4rows/rules.mk
@@ -5,7 +5,7 @@ RGB_MATRIX_ENABLE = no
5RGB_MATRIX_DRIVER = WS2812 5RGB_MATRIX_DRIVER = WS2812
6OLED_DRIVER_ENABLE = yes 6OLED_DRIVER_ENABLE = yes
7ENCODER_ENABLE = yes 7ENCODER_ENABLE = yes
8DIP_SWITCH_ENABLE = yes 8DIP_SWITCH_ENABLE = no
9LTO_ENABLE = yes 9LTO_ENABLE = yes
10 10
11SRC += oled_display.c 11SRC += oled_display.c