summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ao_radio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ao_radio.c b/src/ao_radio.c
index bb19c6a9..0849349e 100644
--- a/src/ao_radio.c
+++ b/src/ao_radio.c
@@ -317,8 +317,8 @@ ao_radio_idle(void)
{
if (RF_MARCSTATE != RF_MARCSTATE_IDLE)
{
- RFST = RFST_SIDLE;
do {
+ RFST = RFST_SIDLE;
ao_yield();
} while (RF_MARCSTATE != RF_MARCSTATE_IDLE);
}