X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fao_telemetrum.c;h=d9ea1fc8c5c91e475b3d511aa71697ac64027a6e;hb=b520c32bcddabd42c07ceafa827694a3ae23a76f;hp=ed43c4473d12c9c38502aacfa5d78dc1efb8c9f4;hpb=ddcc94da4326f9ce954bd31a46b36165c58e6c18;p=fw%2Faltos diff --git a/src/ao_telemetrum.c b/src/ao_telemetrum.c index ed43c447..d9ea1fc8 100644 --- a/src/ao_telemetrum.c +++ b/src/ao_telemetrum.c @@ -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); @@ -59,7 +64,7 @@ main(void) ao_gps_report_init(); ao_telemetry_init(); ao_radio_init(); - ao_packet_slave_init(); + ao_packet_slave_init(TRUE); ao_igniter_init(); #if HAS_DBG ao_dbg_init();