Refactoring putsSwitches

Will simplify things when we have 64 logical switches ...
This commit is contained in:
Bertrand Songis
2015-08-31 20:48:32 +02:00
parent 771206e1b2
commit 398d32821e
19 changed files with 126 additions and 169 deletions
+1 -1
View File
@@ -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) {