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) {
|
||||
sDelay[i] = md->delayUp * 50;
|
||||
}
|
||||
if (sDelay[i]) { // perform delay
|
||||
if(tick10ms) sDelay[i]-=tick10ms;
|
||||
if (sDelay[i] > 0) { // perform delay
|
||||
if (tick10ms) sDelay[i]-=tick10ms;
|
||||
if (!md->swtch) {
|
||||
v = -1024;
|
||||
}
|
||||
@@ -2062,8 +2062,8 @@ void perOut(uint8_t tick10ms)
|
||||
if (swTog) {
|
||||
sDelay[i] = md->delayDown * 50;
|
||||
}
|
||||
if (sDelay[i]) { // perform delay
|
||||
if(tick10ms) sDelay[i]-=tick10ms;
|
||||
if (sDelay[i] > 0) { // perform delay
|
||||
if (tick10ms) sDelay[i]-=tick10ms;
|
||||
if (!md->swtch) v = +1024;
|
||||
has_delay = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user