altos: Apply igniter boot pulse-width reduction to telemini
[fw/altos] / src / ao_telemini.c
index 97bc2cf4ecd495870995908b58faaa0e8991f3d4..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);
@@ -44,7 +49,7 @@ main(void)
        ao_report_init();
        ao_telemetry_init();
        ao_radio_init();
-       ao_packet_slave_init();
+       ao_packet_slave_init(TRUE);
        ao_igniter_init();
        ao_config_init();
        ao_start_scheduler();