change DIP_SWITCH_ENABLE to off (#13815)
parent
ec2f6026b9
commit
fb6c66a14b
|
@ -30,6 +30,7 @@ void set_mac_mode(bool macmode) {
|
||||||
eeconfig_update_keymap(keymap_config.raw);
|
eeconfig_update_keymap(keymap_config.raw);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef DIP_SWITCH_ENABLE
|
||||||
void dip_switch_update_kb(uint8_t index, bool active) {
|
void dip_switch_update_kb(uint8_t index, bool active) {
|
||||||
switch (index) {
|
switch (index) {
|
||||||
case 0:
|
case 0:
|
||||||
|
@ -44,3 +45,4 @@ void dip_switch_update_kb(uint8_t index, bool active) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
|
@ -5,7 +5,7 @@ RGB_MATRIX_ENABLE = no
|
||||||
RGB_MATRIX_DRIVER = WS2812
|
RGB_MATRIX_DRIVER = WS2812
|
||||||
OLED_DRIVER_ENABLE = yes
|
OLED_DRIVER_ENABLE = yes
|
||||||
ENCODER_ENABLE = yes
|
ENCODER_ENABLE = yes
|
||||||
DIP_SWITCH_ENABLE = yes
|
DIP_SWITCH_ENABLE = no
|
||||||
LTO_ENABLE = yes
|
LTO_ENABLE = yes
|
||||||
|
|
||||||
SRC += oled_display.c
|
SRC += oled_display.c
|
||||||
|
|
|
@ -30,6 +30,7 @@ void set_mac_mode(bool macmode) {
|
||||||
eeconfig_update_keymap(keymap_config.raw);
|
eeconfig_update_keymap(keymap_config.raw);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef DIP_SWITCH_ENABLE
|
||||||
void dip_switch_update_kb(uint8_t index, bool active) {
|
void dip_switch_update_kb(uint8_t index, bool active) {
|
||||||
switch (index) {
|
switch (index) {
|
||||||
case 0:
|
case 0:
|
||||||
|
@ -44,3 +45,4 @@ void dip_switch_update_kb(uint8_t index, bool active) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
|
@ -5,7 +5,7 @@ RGB_MATRIX_ENABLE = no
|
||||||
RGB_MATRIX_DRIVER = WS2812
|
RGB_MATRIX_DRIVER = WS2812
|
||||||
OLED_DRIVER_ENABLE = yes
|
OLED_DRIVER_ENABLE = yes
|
||||||
ENCODER_ENABLE = yes
|
ENCODER_ENABLE = yes
|
||||||
DIP_SWITCH_ENABLE = yes
|
DIP_SWITCH_ENABLE = no
|
||||||
LTO_ENABLE = yes
|
LTO_ENABLE = yes
|
||||||
|
|
||||||
SRC += oled_display.c
|
SRC += oled_display.c
|
||||||
|
|
Loading…
Reference in New Issue