Small flash saving

This commit is contained in:
bsongis
2012-07-26 08:51:38 +00:00
parent 3c8c213ce3
commit 55e0b5d241
+2 -2
View File
@@ -2042,7 +2042,7 @@ void perOut(uint8_t tick10ms)
sDelay[i] = md->delayUp * 50; sDelay[i] = md->delayUp * 50;
} }
if (sDelay[i] > 0) { // perform delay if (sDelay[i] > 0) { // perform delay
if (tick10ms) sDelay[i]-=tick10ms; sDelay[i] -= tick10ms;
if (!md->swtch) { if (!md->swtch) {
v = -1024; v = -1024;
} }
@@ -2063,7 +2063,7 @@ void perOut(uint8_t tick10ms)
sDelay[i] = md->delayDown * 50; sDelay[i] = md->delayDown * 50;
} }
if (sDelay[i] > 0) { // perform delay if (sDelay[i] > 0) { // perform delay
if (tick10ms) sDelay[i]-=tick10ms; sDelay[i] -= tick10ms;
if (!md->swtch) v = +1024; if (!md->swtch) v = +1024;
has_delay = true; has_delay = true;
} }