no modif
Diff: RF24Network.cpp
- Revision:
- 6:be18fc3ba293
- Parent:
- 3:dfc8da7ac18c
--- a/RF24Network.cpp Thu Nov 05 05:54:47 2015 +0000 +++ b/RF24Network.cpp Thu May 20 07:20:07 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