altos: Abort radio receive when using flash memory on megametrum
authorKeith Packard <keithp@keithp.com>
Wed, 27 Jun 2012 06:17:00 +0000 (23:17 -0700)
committerKeith Packard <keithp@keithp.com>
Wed, 27 Jun 2012 06:17:00 +0000 (23:17 -0700)
commit097b337eb9b7deff13d5dcdafddec9bec3868b93
tree73a690898e4a4422d17de567a1971a03a2dccf4d
parent1ae69a1c2ce7e45db9d9c175bc63867eff68ebe5
altos: Abort radio receive when using flash memory on megametrum

Radio receive camps on the SPI bus, making it impossible to access
flash memory. Abort any pending receive operation when trying to get
to the flash part.

Yes, this is a total hack.

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