From 307205ce4df36077b903f01eccd137c9389a4e79 Mon Sep 17 00:00:00 2001 From: Josh Stewart Date: Thu, 26 Sep 2013 21:26:56 +1000 Subject: [PATCH] Remove unneeded check --- scheduler.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scheduler.ino b/scheduler.ino index bb04169c..c3956c16 100644 --- a/scheduler.ino +++ b/scheduler.ino @@ -67,7 +67,7 @@ void setFuelSchedule2(void (*startCallback)(), unsigned long timeout, unsigned l void setIgnitionSchedule1(void (*startCallback)(), unsigned long timeout, unsigned long duration, void(*endCallback)()) { if(ignitionSchedule1.Status == RUNNING) { return; } //Check that we're not already part way through a schedule - if(ignitionSchedule1.Status == PENDING) { return; } //Check that we're not already part way through a schedule + //if(ignitionSchedule1.Status == PENDING) { return; } //Check that we're not already part way through a schedule //We need to calculate the value to reset the timer to (preload) in order to achieve the desired overflow time //As the timer is ticking every 16uS (Time per Tick = (Prescale)*(1/Frequency))