change DIP_SWITCH_ENABLE to off (#13815)

This commit is contained in:
MakotoKurauchi 2021-07-31 18:51:32 +09:00 committed by GitHub
parent ec2f6026b9
commit fb6c66a14b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 2 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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