summaryrefslogtreecommitdiff
path: root/src/core/ao_config.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2011-07-21 22:25:45 -0700
committerKeith Packard <keithp@keithp.com>2011-08-27 12:45:36 -0700
commitbc1b94df4d6b92e794ec93d9c1682ae5f61efa61 (patch)
tree4b417922323946b78232139a81298b98ceb06faa /src/core/ao_config.c
parent4299b5a36a2f6f9f7bbbc3a1b935dd2357c1fb0f (diff)
altos: Finish up primitive telelaunch protocol
This adds two commands to teledongle, one to query and one to actually fire the igniter. These will (eventually) want to be replaced with something nicer. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/core/ao_config.c')
-rw-r--r--src/core/ao_config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ao_config.c b/src/core/ao_config.c
index 7f999feb..28854ab5 100644
--- a/src/core/ao_config.c
+++ b/src/core/ao_config.c
@@ -108,7 +108,7 @@ _ao_config_get(void)
if (ao_config.minor < 8)
ao_config.radio_enable = TRUE;
if (ao_config.minor < 9)
- memset(&ao_config.aes_key, '\0', AO_AES_LEN);
+ memset(&ao_config.aes_key, 0, AO_AES_LEN);
ao_config.minor = AO_CONFIG_MINOR;
ao_config_dirty = 1;
}