projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d8f84ba
)
altos: Fix config to set default log size for all devices with log
author
Keith Packard
<keithp@keithp.com>
Fri, 6 Jun 2014 04:35:41 +0000
(21:35 -0700)
committer
Keith Packard
<keithp@keithp.com>
Fri, 6 Jun 2014 04:35:41 +0000
(21:35 -0700)
Not just devices with flight
Signed-off-by: Keith Packard <keithp@keithp.com>
src/kernel/ao_config.c
patch
|
blob
|
history
diff --git
a/src/kernel/ao_config.c
b/src/kernel/ao_config.c
index e5f8efba95c1255b5606e7d4212931bceaa12302..b4847cddf9327e696579f1bf3e3e341567795a33 100644
(file)
--- 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 */
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
if (minor < 4)
ao_config.flight_log_max = AO_CONFIG_DEFAULT_FLIGHT_LOG_MAX;
#endif