From 4ce6d215e8f1fa88f683408f23c5b8cb4df42920 Mon Sep 17 00:00:00 2001 From: George Oikonomou Date: Fri, 4 Sep 2015 17:59:25 +0100 Subject: [PATCH] Use volatile access for CMD_IEEE_TX --- cpu/cc26xx-cc13xx/rf-core/ieee-mode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpu/cc26xx-cc13xx/rf-core/ieee-mode.c b/cpu/cc26xx-cc13xx/rf-core/ieee-mode.c index b5b5cf4c1..4d5b187ee 100644 --- a/cpu/cc26xx-cc13xx/rf-core/ieee-mode.c +++ b/cpu/cc26xx-cc13xx/rf-core/ieee-mode.c @@ -766,7 +766,7 @@ transmit(unsigned short transmit_len) uint16_t stat; uint8_t tx_active = 0; rtimer_clock_t t0; - rfc_CMD_IEEE_TX_t cmd; + volatile rfc_CMD_IEEE_TX_t cmd; if(!rf_is_on()) { was_off = 1;