Update ML timeout handling and adjust distance threshold for path hops

This commit is contained in:
Winston Lowe authored and Enot (ded) Skelly committed 2026-04-09 09:30:25 -07:00
1 parent 4879b136f8
commit 26516baf67
3 files changed
+5 -3

No files matched your search

+3 -1
View File
@@ -3903,7 +3903,9 @@ class MeshCoreConnector extends ChangeNotifier {
if (mlTimeout != null) {
if (pathLength < 0) {
// Flood: trust ML, only enforce firmware formula as floor
return mlTimeout.clamp(physicsMin, mlTimeout);
if (mlTimeout < physicsMin) {
return physicsMin;
}
}
return mlTimeout.clamp(physicsMin, physicsMax);
}