Issue with looping mixes (thanks Gabriel for reporting it)
This commit is contained in:
+4
-4
@@ -2041,8 +2041,8 @@ void perOut(uint8_t tick10ms)
|
|||||||
if (swTog) {
|
if (swTog) {
|
||||||
sDelay[i] = md->delayUp * 50;
|
sDelay[i] = md->delayUp * 50;
|
||||||
}
|
}
|
||||||
if (sDelay[i]) { // perform delay
|
if (sDelay[i] > 0) { // perform delay
|
||||||
if(tick10ms) sDelay[i]-=tick10ms;
|
if (tick10ms) sDelay[i]-=tick10ms;
|
||||||
if (!md->swtch) {
|
if (!md->swtch) {
|
||||||
v = -1024;
|
v = -1024;
|
||||||
}
|
}
|
||||||
@@ -2062,8 +2062,8 @@ void perOut(uint8_t tick10ms)
|
|||||||
if (swTog) {
|
if (swTog) {
|
||||||
sDelay[i] = md->delayDown * 50;
|
sDelay[i] = md->delayDown * 50;
|
||||||
}
|
}
|
||||||
if (sDelay[i]) { // perform delay
|
if (sDelay[i] > 0) { // perform delay
|
||||||
if(tick10ms) sDelay[i]-=tick10ms;
|
if (tick10ms) sDelay[i]-=tick10ms;
|
||||||
if (!md->swtch) v = +1024;
|
if (!md->swtch) v = +1024;
|
||||||
has_delay = true;
|
has_delay = true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user