altos: Horrible kludge -- disable radio while talking with SD card
[fw/altos] / src / drivers / ao_cc115l.c
index 0e019bc063a55851d09684c70a3d0df64f17bafb..d6a938ac5c32a8fc0bf6152a08d7da0d64444389 100644 (file)
@@ -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 */
@@ -33,7 +33,7 @@ static uint8_t ao_radio_mcu_wake;     /* MARC status change */
 static uint8_t ao_radio_marcstate;     /* Last read MARC state value */
 
 /* Debugging commands */
-#define CC115L_DEBUG   1
+#define CC115L_DEBUG   0
 
 /* Runtime tracing */
 #define CC115L_TRACE   0