Commit 9e12c236 authored by TMRh20's avatar TMRh20

Fix: RPi dynamic ACK issue

Found issue with dynamic payloads on RPi - writeType was not specified
properly for dynamic ACKs with a NOACK payload set - Identified thanks
to mannkind   - See
https://github.com/TMRh20/RF24Network/commit/6e25453ffabf583c0304b701a3cfcf8f98c9fc94
parent cb60afe1
......@@ -123,7 +123,7 @@ uint8_t RF24::write_payload(const void* buf, uint8_t len, const uint8_t writeTyp
if (debug)
printf("[Writing %u bytes %u blanks]",data_len,blank_len);
*ptx++ = W_TX_PAYLOAD;
*ptx++ = writeType;
while ( data_len-- )
*ptx++ = *current++;
while ( blank_len-- )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment