Skip to content

Commit 38a13f3

Browse files
committed
mesh_interface: deleteWaypoint: add hopLimit
1 parent eef8a37 commit 38a13f3

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
@@ -900,6 +900,7 @@ def deleteWaypoint(
900900
wantAck: bool = True,
901901
wantResponse: bool = False,
902902
channelIndex: int = 0,
903+
hopLimit: Optional[int]=None,
903904
):
904905
"""
905906
Send a waypoint deletion packet to some other node (normally a broadcast)
@@ -926,6 +927,7 @@ def deleteWaypoint(
926927
wantResponse=wantResponse,
927928
onResponse=onResponse,
928929
channelIndex=channelIndex,
930+
hopLimit=hopLimit,
929931
)
930932
if wantResponse:
931933
self.waitForWaypoint()

0 commit comments

Comments
 (0)