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
Revision 5:ee34c2837c4c, committed 2016-02-23
- Comitter:
- akashvibhute
- Date:
- Tue Feb 23 00:40:33 2016 +0000
- Parent:
- 4:a35313611c1c
- Child:
- 6:5cc7136648d1
- Commit message:
- updated typo on line 116, which determined minimum data length...
Changed in this revision
| RF24.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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); );
