From: Keith Packard Date: Wed, 19 Jan 2011 19:21:52 +0000 (-0800) Subject: altos: Program default flight log max value for new boards X-Git-Tag: debian/0.9+2+g97f4f2e~1 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=97f4f2e0d28eec1cf19d2d25140e42f6ac277700;hp=480587cf514ba21885b24c3b8fcb98d6b76ea8f4 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 --- 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) {