aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 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
diff --git a/keyboards/helix/rev3_5rows/rev3_5rows.c b/keyboards/helix/rev3_5rows/rev3_5rows.c
index c034c8338..4477b3922 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) {
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_5rows/rules.mk b/keyboards/helix/rev3_5rows/rules.mk
index a5916c114..530d1d750 100644
--- a/keyboards/helix/rev3_5rows/rules.mk
+++ b/keyboards/helix/rev3_5rows/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