summaryrefslogtreecommitdiff
path: root/ao_teleterra.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_teleterra.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_teleterra.c')
-rw-r--r--ao_teleterra.c15
1 files changed, 1 insertions, 14 deletions
diff --git a/ao_teleterra.c b/ao_teleterra.c
index 41ab7bf0..b5ab4857 100644
--- a/ao_teleterra.c
+++ b/ao_teleterra.c
@@ -37,19 +37,6 @@ main(void)
ao_monitor_init(AO_LED_GREEN);
ao_radio_init();
ao_dbg_init();
+ ao_config_init();
ao_start_scheduler();
}
-
-/* Stub for systems which have no ADC */
-void
-ao_adc_poll(void)
-{
-}
-
-/* Stub to not log GPS data */
-void
-ao_log_data(struct ao_log_record *log)
-{
- (void) log;
-}
-