mesh_interface: sendWaypoint: add hopLimit

This commit is contained in:
Vasiliy Doylov committed 2025-09-23 16:31:52 +03:00
1 parent 63b940defb
commit eef8a37703
1 file changed
+2
+2
View File
@@ -847,6 +847,7 @@ class MeshInterface: # pylint: disable=R0902
wantAck: bool = True,
wantResponse: bool = False,
channelIndex: int = 0,
hopLimit: Optional[int]=None,
): # pylint: disable=R0913
"""
Send a waypoint packet to some other node (normally a broadcast)
@@ -886,6 +887,7 @@ class MeshInterface: # pylint: disable=R0902
wantResponse=wantResponse,
onResponse=onResponse,
channelIndex=channelIndex,
hopLimit=hopLimit,
)
if wantResponse:
self.waitForWaypoint()