altos: wait 10s for companion to boot
authorKeith Packard <keithp@keithp.com>
Sun, 14 Aug 2011 01:31:08 +0000 (18:31 -0700)
committerKeith Packard <keithp@keithp.com>
Sun, 14 Aug 2011 01:46:12 +0000 (18:46 -0700)
commitb0ec30de37aa822ba66d25ceaa8cf8dc967b4371
tree5ed46bd19c238e935571c63e70f13892ba06e360
parent41e5be32819d305c8268e6f992be91411ea13435
altos: wait 10s for companion to boot

In case the companion is delayed while booting, retry the setup 10
times with a 1s delay between tries.

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