summaryrefslogtreecommitdiff
path: root/src/drivers/ao_cc115l.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-04-01 02:39:35 -0700
committerKeith Packard <keithp@keithp.com>2013-04-01 02:39:35 -0700
commit985df526ec142258ef990d0b55b0a14e13c099b4 (patch)
treea5b8e694c7c718e8f5000127013c901c1afcc30a /src/drivers/ao_cc115l.c
parent14c63f94f36a95272d91695039abf54efb423a91 (diff)
altos: Horrible kludge -- disable radio while talking with SD card
The SD card really doesn't like the RFI generated by our enormous radio, so just lock the radio out while working with the card. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/drivers/ao_cc115l.c')
-rw-r--r--src/drivers/ao_cc115l.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/ao_cc115l.c b/src/drivers/ao_cc115l.c
index 9a4908b5..d6a938ac 100644
--- a/src/drivers/ao_cc115l.c
+++ b/src/drivers/ao_cc115l.c
@@ -23,7 +23,7 @@
#define AO_RADIO_MAX_SEND sizeof (struct ao_telemetry_generic)
-static uint8_t ao_radio_mutex;
+uint8_t ao_radio_mutex;
static uint8_t ao_radio_fifo; /* fifo drained interrupt received */
static uint8_t ao_radio_done; /* tx done interrupt received */