projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
08e3d54
)
Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
author
Bdale Garbee
<bdale@gag.com>
Fri, 26 Aug 2011 15:37:01 +0000
(09:37 -0600)
committer
Bdale Garbee
<bdale@gag.com>
Fri, 26 Aug 2011 15:37:01 +0000
(09:37 -0600)
src/ao_config.c
patch
|
blob
|
history
diff --git
a/src/ao_config.c
b/src/ao_config.c
index eb1eea3fa843bcbd68833b2035ff068260a73bbd..0c10e60894e57569d18a07d870610717da95c1cb 100644
(file)
--- a/
src/ao_config.c
+++ b/
src/ao_config.c
@@
-74,6
+74,7
@@
_ao_config_get(void)
ao_config.minor = 0;
ao_config.main_deploy = AO_CONFIG_DEFAULT_MAIN_DEPLOY;
ao_config.radio_channel = AO_CONFIG_DEFAULT_RADIO_CHANNEL;
+ memset(&ao_config.callsign, '\0', sizeof (ao_config.callsign));
memcpy(&ao_config.callsign, AO_CONFIG_DEFAULT_CALLSIGN,
sizeof(AO_CONFIG_DEFAULT_CALLSIGN) - 1);
}