Reduce igniter firing time from 500ms to 50ms.
authorKeith Packard <keithp@keithp.com>
Fri, 20 Nov 2009 19:55:28 +0000 (11:55 -0800)
committerKeith Packard <keithp@keithp.com>
Fri, 20 Nov 2009 20:10:19 +0000 (12:10 -0800)
Given that the system will brown-out with the longer pulse, it doesn't
make sense to even try; failure at 50ms probably indicates a short.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/ao_ignite.c

index 981cf0c..4093b6a 100644 (file)
@@ -26,7 +26,7 @@
 /* test these values with real igniters */
 #define AO_IGNITER_OPEN                1000
 #define AO_IGNITER_CLOSED      7000
-#define AO_IGNITER_FIRE_TIME   AO_MS_TO_TICKS(500)
+#define AO_IGNITER_FIRE_TIME   AO_MS_TO_TICKS(50)
 #define AO_IGNITER_CHARGE_TIME AO_MS_TO_TICKS(2000)
 
 struct ao_ignition {