projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Send computed accel/vel/pres values over the radio
[fw/altos]
/
ao_tidongle.c
diff --git
a/ao_tidongle.c
b/ao_tidongle.c
index ea21e12779c22c6419c81e813e7e0d0f8d814709..b068d04563513719eeca79a1ea5688332bc19eee 100644
(file)
--- a/
ao_tidongle.c
+++ b/
ao_tidongle.c
@@
-27,21
+27,18
@@
main(void)
;
/* Turn on the LED until the system is stable */
;
/* Turn on the LED until the system is stable */
- ao_led_init();
+ ao_led_init(
AO_LED_RED
);
ao_led_on(AO_LED_RED);
ao_timer_init();
ao_cmd_init();
ao_usb_init();
ao_led_on(AO_LED_RED);
ao_timer_init();
ao_cmd_init();
ao_usb_init();
- ao_monitor_init();
+ ao_monitor_init(AO_LED_RED, TRUE);
+ ao_rssi_init(AO_LED_RED);
ao_radio_init();
ao_dbg_init();
ao_radio_init();
ao_dbg_init();
+ ao_config_init();
/* Bring up the USB link */
/* Bring up the USB link */
- ao_led_on(AO_LED_GREEN);
+ P1DIR |= 1;
+ P1 |= 1;
ao_start_scheduler();
}
ao_start_scheduler();
}
-
-/* Stub for systems which have no ADC */
-void
-ao_adc_poll(void)
-{
-}