diff options
| -rw-r--r-- | keyboards/helix/rev3_4rows/rev3_4rows.c | 2 | ||||
| -rw-r--r-- | keyboards/helix/rev3_4rows/rules.mk | 2 | ||||
| -rw-r--r-- | keyboards/helix/rev3_5rows/rev3_5rows.c | 2 | ||||
| -rw-r--r-- | keyboards/helix/rev3_5rows/rules.mk | 2 |
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 | ||
| 33 | void dip_switch_update_kb(uint8_t index, bool active) { | 34 | void 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 | |||
| 5 | RGB_MATRIX_DRIVER = WS2812 | 5 | RGB_MATRIX_DRIVER = WS2812 |
| 6 | OLED_DRIVER_ENABLE = yes | 6 | OLED_DRIVER_ENABLE = yes |
| 7 | ENCODER_ENABLE = yes | 7 | ENCODER_ENABLE = yes |
| 8 | DIP_SWITCH_ENABLE = yes | 8 | DIP_SWITCH_ENABLE = no |
| 9 | LTO_ENABLE = yes | 9 | LTO_ENABLE = yes |
| 10 | 10 | ||
| 11 | SRC += oled_display.c | 11 | SRC += 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 | ||
| 33 | void dip_switch_update_kb(uint8_t index, bool active) { | 34 | void 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 | |||
| 5 | RGB_MATRIX_DRIVER = WS2812 | 5 | RGB_MATRIX_DRIVER = WS2812 |
| 6 | OLED_DRIVER_ENABLE = yes | 6 | OLED_DRIVER_ENABLE = yes |
| 7 | ENCODER_ENABLE = yes | 7 | ENCODER_ENABLE = yes |
| 8 | DIP_SWITCH_ENABLE = yes | 8 | DIP_SWITCH_ENABLE = no |
| 9 | LTO_ENABLE = yes | 9 | LTO_ENABLE = yes |
| 10 | 10 | ||
| 11 | SRC += oled_display.c | 11 | SRC += oled_display.c |
