Convert Dip Switch callbacks to boolean functions (#13399)
This commit is contained in:
parent
8f78be076d
commit
0bde920817
40 changed files with 117 additions and 75 deletions
|
@ -291,7 +291,7 @@ void encoder_update(bool clockwise) {
|
|||
}
|
||||
}
|
||||
|
||||
void dip_switch_update_user(uint8_t index, bool active) {
|
||||
bool dip_switch_update_user(uint8_t index, bool active) {
|
||||
switch (index) {
|
||||
case 0: {
|
||||
#ifdef AUDIO_ENABLE
|
||||
|
@ -320,6 +320,7 @@ void dip_switch_update_user(uint8_t index, bool active) {
|
|||
muse_mode = false;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
void keyboard_post_init_keymap(void) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue