You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: