altos: Provide timeout value to ao_radio_recv
authorKeith Packard <keithp@keithp.com>
Mon, 29 Apr 2013 06:02:12 +0000 (23:02 -0700)
committerKeith Packard <keithp@keithp.com>
Wed, 8 May 2013 03:07:52 +0000 (20:07 -0700)
commitf677a83348a9568679240ee9d731ab454f289831
tree8a8bd51ae7cce01fac472fb33a653f0489e74f0d
parent0488cd9cffc837e99490a0761216bbc5847ff400
altos: Provide timeout value to ao_radio_recv

Instead of using ao_alarm around calls to ao_radio_recv, provide an
explicit timeout value as needed by radio functions with more
complicated system interaction than the cc1111. The timeout is 8 bits
of clock ticks.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/cc1111/ao_radio.c
src/core/ao.h
src/core/ao_monitor.c
src/core/ao_radio_cmac.c
src/drivers/ao_cc1120.c
src/drivers/ao_packet.c
src/drivers/ao_radio_master.c
src/drivers/ao_radio_slave.c