projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altos: Make serial, usb, beeper and accelerometer optional components
[fw/altos]
/
src
/
ao_config.c
diff --git
a/src/ao_config.c
b/src/ao_config.c
index bbee3b443e6a0a7e17bfb9805af311dfba6e3982..c6d36247f1b5504f6e034cd879bdbe2df23834ab 100644
(file)
--- 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;
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) {
ao_config_dirty = 1;
}
if (ao_config.minor < AO_CONFIG_MINOR) {
@@
-438,8
+439,8
@@
ao_config_write(void) __reentrant
#endif
__code struct ao_cmds ao_config_cmds[] = {
#endif
__code struct ao_cmds ao_config_cmds[] = {
- {
'c', ao_config_set, "c <var> <value>
Set config variable (? for help, s to show)" },
- {
'\0', ao_config_set
, NULL },
+ {
ao_config_set, "c <var> <value>\0
Set config variable (? for help, s to show)" },
+ {
0
, NULL },
};
void
};
void