From: Keith Packard Date: Mon, 24 Nov 2014 02:31:15 +0000 (-0800) Subject: altos/cc1200: Wait for packet to be placed in FIFO during receive X-Git-Tag: bdale-altosdroid~6^2~2 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=eabeb76a2a9acb624ae364c4f0f315bfc3549d98;hp=eabeb76a2a9acb624ae364c4f0f315bfc3549d98 altos/cc1200: Wait for packet to be placed in FIFO during receive This changes the receive code to use MCU_STATUS, waiting for MARC_STATUS1 to indicate that the packet is in the fifo before reading it out. It also fixes the receive timeout code to keep receiving if the preamble or sync have been seen when the timeout fires. This makes TeleLCO able to use short timeouts during scanning while still successfully receiving packets. Signed-off-by: Keith Packard ---