dagroot doesn't synchronize to anyone ever.
@@ -1930,16 +1930,16 @@ port_INLINE void activity_ri5(PORT_TIMER_WIDTH capturedTime) {
// or in case I'm in the middle of the join process when parent is not yet selected
// or in case I don't have a dedicated cell to my parent yet
if (
- (
idmanager_getIsDAGroot() == FALSE &&
- icmpv6rpl_isPreferredParent(&(ieee154e_vars.dataReceived->l2_nextORpreviousHop))
- ) ||
+ (
+ icmpv6rpl_isPreferredParent(&(ieee154e_vars.dataReceived->l2_nextORpreviousHop)) ||
IEEE802154_security_isConfigured() == FALSE ||
icmpv6rpl_getPreferredParentEui64(&addressToWrite) == FALSE ||
(
icmpv6rpl_getPreferredParentEui64(&addressToWrite) &&
schedule_hasDedicatedCellToNeighbor(&addressToWrite)== FALSE
)
+ )
) {
synchronizePacket(ieee154e_vars.syncCapturedTime);
}
