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>
Mon, 29 Apr 2013 06:02:12 +0000 (23:02 -0700)
commit582c62572c7cd3acb4856117821239a6a10843ef
treec037e51894b356f721603d525db47cb434d01690
parent2fedc82dbdfb17f7226c6c489e18d874c3857350
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