Commit 9f143e9
committed
drivers/radio/nrf24l01: Properly handle timeout.
The timeout condition was not handled before. Upon timeout, this
caused the chip to stay active until another send command changed
it's state.
Sometimes when it was unable to transmit the data, it got stuck
in the tx fifo causing it to fill up over time, which set the
TX_FULL flag in the STATUS register.
Since there was no exceptions raised, the user code could not
differentiate a successful send or a timeout condition.
Signed-off-by: Marcell Pünkösd <[email protected]>1 parent e4cf095 commit 9f143e9
1 file changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
220 | 220 | | |
221 | 221 | | |
222 | 222 | | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
223 | 230 | | |
224 | 231 | | |
225 | 232 | | |
| |||
0 commit comments