mirror of
https://github.com/qmk/qmk_firmware
synced 2024-11-18 01:46:09 +00:00
change DIP_SWITCH_ENABLE to off (#13815)
This commit is contained in:
parent
ec2f6026b9
commit
fb6c66a14b
4 changed files with 6 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue