summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2011-10-23 12:55:35 -0700
committerKeith Packard <keithp@keithp.com>2011-10-23 12:55:35 -0700
commit8e2736226fcd7c1ab1ba93a5ebac9b285ebf4733 (patch)
treedfbba795076984593d8814a0138ca06d97890f61 /src
parent07d4477b2e8477e96a2f155a25f95e14a9a47efa (diff)
src/teleterra-v0.2: Initialize more hardware
Initialize the flash storage and flight state reporting beeper. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src')
-rw-r--r--src/product/ao_telebt.c2
-rw-r--r--src/product/ao_teleterra_0_2.c4
-rw-r--r--src/teleterra-v0.2/Makefile1
3 files changed, 6 insertions, 1 deletions
diff --git a/src/product/ao_telebt.c b/src/product/ao_telebt.c
index 9e409db7..c4b40dfc 100644
--- a/src/product/ao_telebt.c
+++ b/src/product/ao_telebt.c
@@ -37,7 +37,7 @@ main(void)
ao_storage_init();
#endif
ao_usb_init();
- ao_monitor_init(AO_LED_RED, sizeof (union ao_telemetry_all));
+ ao_monitor_init(AO_LED_RED, TRUE);
#if HAS_LOG
ao_report_init();
#endif
diff --git a/src/product/ao_teleterra_0_2.c b/src/product/ao_teleterra_0_2.c
index 4019469b..05085860 100644
--- a/src/product/ao_teleterra_0_2.c
+++ b/src/product/ao_teleterra_0_2.c
@@ -26,10 +26,14 @@ main(void)
ao_timer_init();
ao_beep_init();
ao_cmd_init();
+ ao_spi_init();
+ ao_storage_init();
ao_usb_init();
ao_serial_init();
ao_gps_init();
ao_monitor_init(0, TRUE);
+ ao_report_init();
+ ao_log_single_init();
ao_radio_init();
ao_config_init();
ao_lcd_init();
diff --git a/src/teleterra-v0.2/Makefile b/src/teleterra-v0.2/Makefile
index 892c37e2..eda67a2a 100644
--- a/src/teleterra-v0.2/Makefile
+++ b/src/teleterra-v0.2/Makefile
@@ -24,6 +24,7 @@ CORE_SRC = \
ao_log_telem.c \
ao_mutex.c \
ao_panic.c \
+ ao_report.c \
ao_rssi.c \
ao_state.c \
ao_stdio.c \