summaryrefslogtreecommitdiff
path: root/src/product
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2011-08-28 16:39:41 -0700
committerKeith Packard <keithp@keithp.com>2011-08-28 16:39:41 -0700
commit9b9568a637ffdbc67225271005f2b996ee08a0df (patch)
tree51beaa177f44c330d7005f0c50049eced32fa458 /src/product
parent31e3255b6cbfaf95c0e97e2d1ec8de72f845994c (diff)
altos: add 'report' to telebt
This beeps out flight state changes and max altitude at landing, just like the altimeter. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/product')
-rw-r--r--src/product/Makefile.telebt1
-rw-r--r--src/product/ao_telebt.c3
2 files changed, 3 insertions, 1 deletions
diff --git a/src/product/Makefile.telebt b/src/product/Makefile.telebt
index 46c87db0..04dd044e 100644
--- a/src/product/Makefile.telebt
+++ b/src/product/Makefile.telebt
@@ -26,6 +26,7 @@ CORE_SRC = \
ao_monitor.c \
ao_mutex.c \
ao_panic.c \
+ ao_report.c \
ao_state.c \
ao_stdio.c \
ao_task.c
diff --git a/src/product/ao_telebt.c b/src/product/ao_telebt.c
index 9154f4be..6fe18a4d 100644
--- a/src/product/ao_telebt.c
+++ b/src/product/ao_telebt.c
@@ -37,7 +37,8 @@ main(void)
ao_storage_init();
#endif
ao_usb_init();
- ao_monitor_init(AO_LED_RED, TRUE);
+ ao_monitor_init(AO_LED_RED, sizeof (union ao_telemetry_all));
+ ao_report_init();
ao_radio_init();
ao_packet_master_init();
ao_btm_init();