altos/telefire: Make sure armed alarm goes off on time
authorKeith Packard <keithp@keithp.com>
Sun, 7 Oct 2012 01:25:15 +0000 (18:25 -0700)
committerKeith Packard <keithp@keithp.com>
Sun, 7 Oct 2012 01:25:15 +0000 (18:25 -0700)
commitd4b1dffeef3e9ea96e143f74782e4da7d116c0d4
tree9056ee5a7551332cc11a5b199fe50ec642c2591a
parent2cac8c572ce533ded89dae9a412b4d1b5c748342
altos/telefire: Make sure armed alarm goes off on time

Instead of turning the alarm off when a packet is received after the
deadline, just do it in the thread which is awake all of the time.

This prevents the alarm from sticking on when the LCO box is turned
off while the arming key is on.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/drivers/ao_pad.c