mirror of
https://github.com/meshtastic/firmware.git
synced 2025-09-03 18:23:48 +00:00
clarity in comments
This commit is contained in:
parent
947b1c9e46
commit
0589b8384f
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user