Refactoring putsSwitches
Will simplify things when we have 64 logical switches ...
This commit is contained in:
@@ -436,7 +436,7 @@ bool getSwitch(int8_t swtch)
|
||||
|
||||
uint8_t cs_idx = abs(swtch);
|
||||
|
||||
if (cs_idx == SWSRC_One) {
|
||||
if (cs_idx == SWSRC_ONE) {
|
||||
result = !s_mixer_first_run_done;
|
||||
}
|
||||
else if (cs_idx == SWSRC_ON) {
|
||||
|
||||
Reference in New Issue
Block a user