summaryrefslogtreecommitdiff
path: root/src/ao_telemetrum.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2011-08-11 15:57:58 -0700
committerKeith Packard <keithp@keithp.com>2011-08-11 15:57:58 -0700
commitb520c32bcddabd42c07ceafa827694a3ae23a76f (patch)
treecf8fe2783154a2e218c9010c83711d1f4b365efc /src/ao_telemetrum.c
parent566b16e67be38c6425e616a5c38d641c4e1a9b12 (diff)
altos: Pull igniter pins low as soon as possible at boot time
This reduces the pulse width on the igniter circuit caused by the default cc1111 pin configuration at powerup time. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/ao_telemetrum.c')
-rw-r--r--src/ao_telemetrum.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/ao_telemetrum.c b/src/ao_telemetrum.c
index 4ace415c..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);