fix: add ROUTER_LATE to telemetry impolite role check (#9819)
ROUTER_LATE should be treated as an impolite telemetry role like ROUTER, responding to multi-hop broadcast requests and using aggressive send timing without channel utilization checks. Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
This commit is contained in:
co-authored by
GitHub
Ben Meadors
parent
1626836a71
commit
a8fed3256e
@@ -9,6 +9,7 @@ class BaseTelemetryModule
|
|||||||
bool isSensorOrRouterRole() const
|
bool isSensorOrRouterRole() const
|
||||||
{
|
{
|
||||||
return config.device.role == meshtastic_Config_DeviceConfig_Role_SENSOR ||
|
return config.device.role == meshtastic_Config_DeviceConfig_Role_SENSOR ||
|
||||||
config.device.role == meshtastic_Config_DeviceConfig_Role_ROUTER;
|
config.device.role == meshtastic_Config_DeviceConfig_Role_ROUTER ||
|
||||||
|
config.device.role == meshtastic_Config_DeviceConfig_Role_ROUTER_LATE;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user