projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Don't re-initialize the landing range data at each apogee detect sample
[fw/altos]
/
ao_config.c
diff --git
a/ao_config.c
b/ao_config.c
index 9bb8fd1ae16f230384758c051a506811c83abd74..02f1e0827774d2f79da5c318eb37b814fba0fbb5 100644
(file)
--- a/
ao_config.c
+++ b/
ao_config.c
@@
-87,6
+87,8
@@
ao_config_callsign_set(void) __reentrant
return;
ao_mutex_get(&ao_config_mutex);
_ao_config_get();
+ while (c < AO_MAX_CALLSIGN + 1)
+ callsign[c++] = '\0';
memcpy(&ao_config.callsign, &callsign,
AO_MAX_CALLSIGN + 1);
ao_config_dirty = 1;