projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altos: Lost change that reported flight 0 when log memory was full
[fw/altos]
/
src
/
ao_telemetrum.c
diff --git
a/src/ao_telemetrum.c
b/src/ao_telemetrum.c
index 4ace415c23be7b3487f6bc9768c7a3b8b47e7bdd..f560740a455eb26484234478246063389c172c39 100644
(file)
--- a/
src/ao_telemetrum.c
+++ b/
src/ao_telemetrum.c
@@
-18,18
+18,16
@@
#include "ao.h"
#include "ao_pins.h"
#include "ao.h"
#include "ao_pins.h"
-/* stub so as telemetrum doesn't have monitor mode */
-void
-ao_set_monitor(uint8_t monitoring)
-{
- (void) monitoring;
-}
-
void
main(void)
{
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);
/* Turn on the red LED until the system is stable */
ao_led_init(LEDS_AVAILABLE);
@@
-63,6
+61,9
@@
main(void)
ao_igniter_init();
#if HAS_DBG
ao_dbg_init();
ao_igniter_init();
#if HAS_DBG
ao_dbg_init();
+#endif
+#if HAS_COMPANION
+ ao_companion_init();
#endif
ao_config_init();
ao_start_scheduler();
#endif
ao_config_init();
ao_start_scheduler();