summaryrefslogtreecommitdiff
path: root/ao_tidongle.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2009-04-26 00:11:32 -0700
committerKeith Packard <keithp@keithp.com>2009-04-26 00:11:32 -0700
commit38a0b61b0a0b3c00f064c8d562950a17a6ddff4a (patch)
treeee099db3cfa30d5fe7a94523fe1e7a46f64d238d /ao_tidongle.c
parentc65f1a1acd2ca00758833cec5d3f8056d303d3e2 (diff)
Add configuration support
Current config variables: Main deploy altitude above launch (in meters) Acceleration zero g calibration (manual or automatic) Radio channel (freq = 435.550MHz + channel * 100kHz) Callsign (max 8 characters) Supporting this involved shuffling code around so that the non-telemetrum builds could include only the stuff they needed.
Diffstat (limited to 'ao_tidongle.c')
-rw-r--r--ao_tidongle.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/ao_tidongle.c b/ao_tidongle.c
index 4ef86971..c8e165c2 100644
--- a/ao_tidongle.c
+++ b/ao_tidongle.c
@@ -35,14 +35,9 @@ main(void)
ao_monitor_init(AO_LED_RED);
ao_radio_init();
ao_dbg_init();
+ ao_config_init();
/* Bring up the USB link */
P1DIR |= 1;
P1 |= 1;
ao_start_scheduler();
}
-
-/* Stub for systems which have no ADC */
-void
-ao_adc_poll(void)
-{
-}