diff options
author | Keith Packard <keithp@keithp.com> | 2012-12-16 13:30:20 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2012-12-16 13:30:20 -0800 |
commit | 9bc701ce1132f04ec90ef22e6a7a90c67918737b (patch) | |
tree | 8ffa80c4daa7768070b1c72e04462c611ed64013 | |
parent | 6b4cfd8719e3fd4a2904369e176182c870a3b43c (diff) |
altos: Document what HAS_BOOT_RADIO does in the m25 driver
HAS_BOOT_RADIO causes the m25 driver to abort any ongoing receive in
case that is holding the SPI bus.
Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r-- | src/drivers/ao_m25.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/drivers/ao_m25.c b/src/drivers/ao_m25.c index 9603c1de..518765b2 100644 --- a/src/drivers/ao_m25.c +++ b/src/drivers/ao_m25.c @@ -100,6 +100,7 @@ static __xdata uint8_t ao_m25_mutex; static __xdata uint8_t ao_m25_instruction[4]; #if HAS_BOOT_RADIO +/* Kick any radio listeners off so the flash can be written */ extern uint8_t ao_radio_in_recv; static void ao_boot_radio(void) { |