diff options
author | Keith Packard <keithp@keithp.com> | 2011-07-21 20:04:05 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2011-08-27 12:45:33 -0700 |
commit | 4299b5a36a2f6f9f7bbbc3a1b935dd2357c1fb0f (patch) | |
tree | 3b8adeaa02d4f54009aefa9bceafc92a88a64d65 /src/cc1111/ao_timer.c | |
parent | 776df9ce2e7b4fa5cedda326988e66c614299af4 (diff) |
altos: Implement remote launch protocol
Uses the radio_cmac module to provide secure communication.
Keeps igniter closed for 500ms.
Provides remote status for arming and ignition.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/cc1111/ao_timer.c')
-rw-r--r-- | src/cc1111/ao_timer.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cc1111/ao_timer.c b/src/cc1111/ao_timer.c index c977fbc8..aadee71e 100644 --- a/src/cc1111/ao_timer.c +++ b/src/cc1111/ao_timer.c @@ -31,6 +31,7 @@ ao_delay(uint16_t ticks) { ao_alarm(ticks); ao_sleep(&ao_forever); + ao_clear_alarm(); } #define T1_CLOCK_DIVISOR 8 /* 24e6/8 = 3e6 */ |