#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 */
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
#endif
ao_radio_get();
ao_radio_set_len(0xff);
- ao_radio_set_mode(AO_RADIO_MODE_PACKET_TX | AO_RADIO_MODE_BITS_FIXED);
+ ao_radio_set_mode(AO_RADIO_MODE_RDF);
ao_radio_strobe(CC115L_SFTX);
ao_radio_pa_on();
ao_radio_strobe(CC115L_STX);