projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b4cfd8
)
altos: Document what HAS_BOOT_RADIO does in the m25 driver
author
Keith Packard
<keithp@keithp.com>
Sun, 16 Dec 2012 21:30:20 +0000
(13:30 -0800)
committer
Keith Packard
<keithp@keithp.com>
Sun, 16 Dec 2012 21:30:20 +0000
(13:30 -0800)
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>
src/drivers/ao_m25.c
patch
|
blob
|
history
diff --git
a/src/drivers/ao_m25.c
b/src/drivers/ao_m25.c
index 9603c1debbbd0584b4519ff59dbc034dbeec31ad..518765b2cd86903211b68af3e1fb8ac9e6bccdba 100644
(file)
--- 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) {