Skip to content

Commit eef8a37

Browse files
committed
mesh_interface: sendWaypoint: add hopLimit
1 parent 63b940d commit eef8a37

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

meshtastic/mesh_interface.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -847,6 +847,7 @@ def sendWaypoint(
847847
wantAck: bool = True,
848848
wantResponse: bool = False,
849849
channelIndex: int = 0,
850+
hopLimit: Optional[int]=None,
850851
): # pylint: disable=R0913
851852
"""
852853
Send a waypoint packet to some other node (normally a broadcast)
@@ -886,6 +887,7 @@ def sendWaypoint(
886887
wantResponse=wantResponse,
887888
onResponse=onResponse,
888889
channelIndex=channelIndex,
890+
hopLimit=hopLimit,
889891
)
890892
if wantResponse:
891893
self.waitForWaypoint()

0 commit comments

Comments
 (0)