remove the message from the sendping option

This commit is contained in:
Mike Kinney committed 2021-12-20 23:23:27 -08:00
1 parent a35f3a4e7b
commit d82f197c06
1 file changed
+1 -1
+1 -1
View File
@@ -247,8 +247,8 @@ def onConnected(interface):
interface.sendText(args.sendtext, args.destOrAll, wantAck=True, channelIndex=channelIndex)
if args.sendping:
print(f"Sending ping message {args.sendping} to {args.destOrAll}")
payload = str.encode("test string")
print(f"Sending ping message to {args.destOrAll}")
interface.sendData(payload, args.destOrAll, portNum=portnums_pb2.PortNum.REPLY_APP,
wantAck=True, wantResponse=True)