diff options
| author | Keith Packard <keithp@keithp.com> | 2010-02-20 20:22:16 -0800 |
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2010-02-20 20:30:27 -0800 |
| commit | 84c93bb2fc4558a5e4654794ba90e730a84eaf67 (patch) | |
| tree | 4d279672734ec5c3e50976917ccbf33a306a740d /src/ao_telemetrum.c | |
| parent | fd0a42e0e96dcb8ecc9e999f70bcf70692692af9 (diff) | |
Change altos build process to support per-product compile-time changes
This creates per-product subdirectories and recompiles everything for
each product, allowing per-product compile-time changes for things
like peripheral pin assignments and attached serial devices.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/ao_telemetrum.c')
| -rw-r--r-- | src/ao_telemetrum.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/ao_telemetrum.c b/src/ao_telemetrum.c index 89743837..fd0adae8 100644 --- a/src/ao_telemetrum.c +++ b/src/ao_telemetrum.c @@ -16,6 +16,7 @@ */ #include "ao.h" +#include "ao_pins.h" /* stub so as telemetrum doesn't have monitor mode */ void @@ -31,7 +32,7 @@ main(void) /* Turn on the red LED until the system is stable */ - ao_led_init(AO_LED_RED); + ao_led_init(LEDS_AVAILABLE); ao_led_on(AO_LED_RED); /* A hack -- look at the SPI clock pin, if it's sitting at @@ -59,6 +60,9 @@ main(void) ao_radio_init(); ao_packet_slave_init(); ao_igniter_init(); +#if HAS_DBG + ao_dbg_init(); +#endif ao_config_init(); ao_start_scheduler(); } |
