From 55e0b5d241b2db327b72848516874ccfa22fdfaf Mon Sep 17 00:00:00 2001 From: bsongis Date: Thu, 26 Jul 2012 08:51:38 +0000 Subject: [PATCH] Small flash saving --- src/open9x.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/open9x.cpp b/src/open9x.cpp index c93356b45..5b592ee43 100644 --- a/src/open9x.cpp +++ b/src/open9x.cpp @@ -2042,7 +2042,7 @@ void perOut(uint8_t tick10ms) sDelay[i] = md->delayUp * 50; } if (sDelay[i] > 0) { // perform delay - if (tick10ms) sDelay[i]-=tick10ms; + sDelay[i] -= tick10ms; if (!md->swtch) { v = -1024; } @@ -2063,7 +2063,7 @@ void perOut(uint8_t tick10ms) sDelay[i] = md->delayDown * 50; } if (sDelay[i] > 0) { // perform delay - if (tick10ms) sDelay[i]-=tick10ms; + sDelay[i] -= tick10ms; if (!md->swtch) v = +1024; has_delay = true; }