stm32 icon indicating copy to clipboard operation
stm32 copied to clipboard

nRF24_ReadPayload for Dynamic Payload

Open Sergey1560 opened this issue 5 years ago • 0 comments

In function nRF24_ReadPayload: *length = nRF24_ReadReg(nRF24_REG_RX_PW_P0 + pipe); It works only for fixed size payload. I suggest replacing with: *length = nRF24_ReadReg(CMD_R_RX_PL_WID); This will work for both fixed size and dynamic.

Sergey1560 avatar Jan 10 '20 13:01 Sergey1560