This commit is contained in:
bsongis
2014-05-17 07:52:31 +02:00
parent 0a53e2e6b3
commit 6c17fee19b
10 changed files with 37 additions and 19 deletions
+4 -1
View File
@@ -169,7 +169,10 @@ bool getSwitch(int8_t swtch)
uint8_t cs_idx = abs(swtch);
if (cs_idx == SWSRC_ON) {
if (cs_idx == SWSRC_One) {
result = !s_mixer_first_run_done;
}
else if (cs_idx == SWSRC_ON) {
result = true;
}
else if (cs_idx <= SWSRC_LAST_SWITCH) {