summaryrefslogtreecommitdiff
path: root/src/ao_config.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2011-01-19 11:21:52 -0800
committerKeith Packard <keithp@keithp.com>2011-01-19 11:21:52 -0800
commit97f4f2e0d28eec1cf19d2d25140e42f6ac277700 (patch)
treee74efe09b3f804289d7ee4222d9914770ee02955 /src/ao_config.c
parent480587cf514ba21885b24c3b8fcb98d6b76ea8f4 (diff)
altos: Program default flight log max value for new boards
New boards have no config space values at all, and so they need each value to be set. Yes, this should be fixed so that there aren't two copies of these assignments. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/ao_config.c')
-rw-r--r--src/ao_config.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ao_config.c b/src/ao_config.c
index bbee3b44..cd56b473 100644
--- a/src/ao_config.c
+++ b/src/ao_config.c
@@ -70,6 +70,7 @@ _ao_config_get(void)
sizeof(AO_CONFIG_DEFAULT_CALLSIGN) - 1);
ao_config.apogee_delay = AO_CONFIG_DEFAULT_APOGEE_DELAY;
ao_config.radio_cal = ao_radio_cal;
+ ao_config.flight_log_max = AO_CONFIG_DEFAULT_FLIGHT_LOG_MAX;
ao_config_dirty = 1;
}
if (ao_config.minor < AO_CONFIG_MINOR) {