altos: Delay reboot by a second to avoid re-entering idle mode
authorKeith Packard <keithp@keithp.com>
Mon, 26 Sep 2011 18:50:28 +0000 (11:50 -0700)
committerKeith Packard <keithp@keithp.com>
Fri, 7 Oct 2011 14:37:02 +0000 (08:37 -0600)
commitfba1d605a627d03f9587ec060c45fb5d3e96aaeb
tree659246179f88135833460d5e1ac4b3a191293e6b
parentfc4173ff882dd9718f34ed043276ef612783dfe0
altos: Delay reboot by a second to avoid re-entering idle mode

TM and Tm go into idle mode if they receive a packet after boot
time. When tebooting the device over the packet link, the packet
master would be (rapidly) polling the device for additional data and
so the device would invariably receive a packet during bootup and go
into idle mode again.

Delay the reboot by a second to give the controller time to disable
the master end of the packet link.

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