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.
Dependents: ISEN_RF24Network_Node_01 ISEN_RF24Network_Node_02
Diff: RF24Network.cpp
- Revision:
- 6:54b43989c9c5
- Parent:
- 3:dfc8da7ac18c
diff -r dfc8da7ac18c -r 54b43989c9c5 RF24Network.cpp --- a/RF24Network.cpp Thu Nov 05 05:54:47 2015 +0000 +++ b/RF24Network.cpp Thu May 20 09:26:49 2021 +0000 @@ -399,7 +399,7 @@ /******************************************************************/ -uint16_t RF24Network::parent() const +int16_t RF24Network::parent() const { if ( node_address == 0 ) return -1; @@ -953,7 +953,7 @@ bool result = true; while(node) { - uint8_t digit = node & 7; + int8_t digit = node & 7; #if !defined (RF24NetworkMulticast) if (digit < 1 || digit > 5) #else