src/teleterra-v0.2: Initialize more hardware
authorKeith Packard <keithp@keithp.com>
Sun, 23 Oct 2011 19:55:35 +0000 (12:55 -0700)
committerKeith Packard <keithp@keithp.com>
Sun, 23 Oct 2011 19:55:35 +0000 (12:55 -0700)
Initialize the flash storage and flight state reporting beeper.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/product/ao_telebt.c
src/product/ao_teleterra_0_2.c
src/teleterra-v0.2/Makefile

index 9e409db761c0f3644637fb84c7a19a68b6d5cbf0..c4b40dfc3ae71f59a08f538cae4750e4a6100f04 100644 (file)
@@ -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
index 4019469b19853bd2d8e6ee05e0da64f7979f7c01..050858606c5f049de325cc10f52474b24bac6b46 100644 (file)
@@ -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();
index 892c37e2ccf7a61e4c8b405c0196069ea76af5de..eda67a2a834e4e3299bac79e2b1407ba27e4c70a 100644 (file)
@@ -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 \