Convert Dip Switch callbacks to boolean functions (#13399)
This commit is contained in:
1 parent
8f78be076d
commit
0bde920817
40 files changed
+117
-75
No files matched your search
@@ -170,7 +170,7 @@ bool encoder_update(bool clockwise) {
|
||||
return true;
|
||||
}
|
||||
|
||||
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
|
||||
@@ -199,6 +199,7 @@ void dip_switch_update_user(uint8_t index, bool active) {
|
||||
muse_mode = false;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
void matrix_scan_user(void) {
|
||||
|
||||
Reference in new issue
Block a user