clarity in comments

This commit is contained in:
medentem 2025-01-06 14:43:27 -06:00
parent 947b1c9e46
commit 0589b8384f

View File

@ -169,7 +169,7 @@ float FloodingRouter::calculateForwardProbability(const CoverageFilter &incoming
return 1.0f;
#endif
// If we are a router or repeater, always forward because it's assumed these are in the most advantageous locations
// or if we haven't heard from any other nodes within the stale coverage time
// or if we haven't heard from any other nodes within the stale coverage time, fall back to always forward
if (config.device.role == meshtastic_Config_DeviceConfig_Role_ROUTER ||
config.device.role == meshtastic_Config_DeviceConfig_Role_REPEATER ||
nodeDB->secondsSinceLastNodeHeard() >= STALE_COVERAGE_SECONDS) {