altos: Apply igniter boot pulse-width reduction to telemini
authorKeith Packard <keithp@keithp.com>
Thu, 11 Aug 2011 22:59:47 +0000 (15:59 -0700)
committerKeith Packard <keithp@keithp.com>
Thu, 11 Aug 2011 23:02:00 +0000 (16:02 -0700)
TeleMini needs the same fix as TeleMetrum to reduce startup igniter
pulses.

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

index 19d03692bef435641018218e271c89ab8ce37763..6c6124818ed6302329bb9df854beb4c6a8e9776a 100644 (file)
@@ -28,8 +28,13 @@ ao_set_monitor(uint8_t monitoring)
 void
 main(void)
 {
-       ao_clock_init();
+       /*
+        * Reduce the transient on the ignite pins at startup by
+        * pulling the pins low as soon as possible at power up
+        */
+       ao_ignite_set_pins();
 
+       ao_clock_init();
 
        /* Turn on the red LED until the system is stable */
        ao_led_init(LEDS_AVAILABLE);