summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2014-06-05 21:35:41 -0700
committerKeith Packard <keithp@keithp.com>2014-06-05 21:35:41 -0700
commitec3de3ac461f2380d23c5c5d948333a9a210c400 (patch)
tree5bf84b13666472d29db253b25aaa496134d1f346
parentd8f84ba82bab653c041eb85f93b9dcb1083bd849 (diff)
altos: Fix config to set default log size for all devices with log
Not just devices with flight Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r--src/kernel/ao_config.c2
1 files changed, 1 insertions, 1 deletions
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