From: Keith Packard Date: Fri, 6 Jun 2014 04:35:41 +0000 (-0700) Subject: altos: Fix config to set default log size for all devices with log X-Git-Tag: 1.3.2.2~5 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=ec3de3ac461f2380d23c5c5d948333a9a210c400 altos: Fix config to set default log size for all devices with log Not just devices with flight Signed-off-by: Keith Packard --- diff --git a/src/kernel/ao_config.c b/src/kernel/ao_config.c index e5f8efba..b4847cdd 100644 --- a/src/kernel/ao_config.c +++ b/src/kernel/ao_config.c @@ -133,7 +133,7 @@ _ao_config_get(void) ao_config.radio_cal = ao_radio_cal; #endif /* Fixups for minor version 4 */ -#if HAS_FLIGHT +#if HAS_LOG if (minor < 4) ao_config.flight_log_max = AO_CONFIG_DEFAULT_FLIGHT_LOG_MAX; #endif