summaryrefslogtreecommitdiff
path: root/src/drivers/ao_cc1200.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2016-07-27 13:17:51 -0700
committerKeith Packard <keithp@keithp.com>2016-07-27 13:17:51 -0700
commit2507b9f29d25f77de249103805087a704069c625 (patch)
treeac8a805c63cabf232eaac88e17e582ee3245178d /src/drivers/ao_cc1200.c
parent17adfd7939ff697afa96f7207a3fe17b6af789bd (diff)
altos: Don't access cc1120 SPI bus during recv after abort has started
When the receive timeout happens, the radio may still interrupt while the SPI bus is getting shut down. If this happens, the interrupt handler shouldn't touch the SPI bus at all as it may well be turned off, which would cause the receive function to wedge waiting for a spi byte transfer to happen. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/drivers/ao_cc1200.c')
0 files changed, 0 insertions, 0 deletions