support for auto ACK and retransmissions added
Dependents: JNP3_IOT_6_RADIO_ECHO_FIXED nRF24L01P_NET_GW nRF24L01P_NET_SENSOR Kubus ... more
Fork of nRF24L01P by
Revision 5:92d0bd6eade7, committed 2017-01-19
- Comitter:
- ttajmajer
- Date:
- Thu Jan 19 08:58:07 2017 +0000
- Parent:
- 4:d1c0020f1c87
- Parent:
- 3:3f6bf32d36c2
- Child:
- 6:5c0431c2ed79
- Commit message:
- merged fixes;
Changed in this revision
| nRF24L01P.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/nRF24L01P.cpp Thu Jan 19 08:56:18 2017 +0000
+++ b/nRF24L01P.cpp Thu Jan 19 08:58:07 2017 +0000
@@ -976,7 +976,7 @@
int status = spi_.write(_NRF24L01P_SPI_CMD_R_RX_PL_WID);
- int rxPayloadWidth = spi_.write(_NRF24L01P_SPI_CMD_NOP);
+ int rxPayloadWidth = spi_.write(_NRF24L01P_SPI_CMD_NOP) & 0xFF;
nCS_ = 1;
