radio echo app
Dependents: JNP3_IOT_6_RADIO_ECHO_FIXED2
Diff: nRF24L01P.cpp
- Revision:
- 5:92d0bd6eade7
- Parent:
- 4:d1c0020f1c87
- Parent:
- 3:3f6bf32d36c2
- Child:
- 6:5c0431c2ed79
--- 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;