diff options
author | Keith Packard <keithp@keithp.com> | 2010-11-24 23:54:08 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2010-11-25 00:01:58 -0800 |
commit | 4893ed50bc14772986ac02f9b39928f1882da923 (patch) | |
tree | a0aa92f7d04da0d314a8ad70d09fa9d1ce40d2e9 /src | |
parent | cb08bc264c71ca972027392b42f347a03df76a43 (diff) |
Revert "altos: Don't abort radio transmissions with ao_radio_abort"
This reverts commit 54468e5dc567aaac5c5c20e921859b7cec28bb88.
With this patch in place, TD could not be placed in 'packet' mode.
Diffstat (limited to 'src')
-rw-r--r-- | src/ao_radio.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/ao_radio.c b/src/ao_radio.c index 67d5f6ba..cafa7010 100644 --- a/src/ao_radio.c +++ b/src/ao_radio.c @@ -432,11 +432,8 @@ ao_radio_rdf(int ms) void ao_radio_abort(void) { - /* Only abort if a task is waiting to receive data */ - if (RFST == RFST_SRX) { - ao_dma_abort(ao_radio_dma); - ao_radio_idle(); - } + ao_dma_abort(ao_radio_dma); + ao_radio_idle(); } void |