altos: Apply igniter boot pulse-width reduction to telemini
[fw/altos] / src / ao_telemini.c
index dbc3b74c097bc2ab655c39b80d4d421c9f79137d..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);
@@ -42,7 +47,7 @@ main(void)
        ao_flight_init();
        ao_log_init();
        ao_report_init();
-       ao_telemetry_tiny_init();
+       ao_telemetry_init();
        ao_radio_init();
        ao_packet_slave_init(TRUE);
        ao_igniter_init();