Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of RF24 by
Diff: RF24.cpp
- Revision:
- 5:ee34c2837c4c
- Parent:
- 3:e94be00fd19e
- Child:
- 6:5cc7136648d1
--- a/RF24.cpp Wed Dec 30 01:47:37 2015 +0000 +++ b/RF24.cpp Tue Feb 23 00:40:33 2016 +0000 @@ -113,7 +113,7 @@ uint8_t status; const uint8_t* current = reinterpret_cast<const uint8_t*>(buf); - uint8_t data_len = rf24_min(data_len, payload_size); + uint8_t data_len = rf24_min(len, payload_size); uint8_t blank_len = dynamic_payloads_enabled ? 0 : payload_size - data_len; IF_SERIAL_DEBUG( printf("[Writing %u bytes %u blanks]\n",data_len,blank_len); );