summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBdale Garbee <bdale@gag.com>2011-08-26 09:37:01 -0600
committerBdale Garbee <bdale@gag.com>2011-08-26 09:37:01 -0600
commit674231773256bacd7acb4b5718c47412e47b813f (patch)
tree259fa35af645f685c1aff51744ea7df2e7f31bbf
parent08e3d54bacf8b38a7c33e420a0bc19bcc7acedd4 (diff)
parent3bfe8df44b575ca430ffaa051e20faa955a06c03 (diff)
Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
-rw-r--r--src/ao_config.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ao_config.c b/src/ao_config.c
index eb1eea3f..0c10e608 100644
--- 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);
}