From 6df93c343632080d619753880704dcfc76c7bc08 Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Mon, 7 Oct 2024 12:04:56 -0700 Subject: [PATCH] Update system.py --- modules/system.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/system.py b/modules/system.py index 08e9e9e..a3f5cbb 100644 --- a/modules/system.py +++ b/modules/system.py @@ -621,7 +621,7 @@ numPacketsTx, numPacketsRx, numPacketsTxErr, numPacketsRxErr = ([-1, -1],) * 4 def getNodeTelemetry(nodeID=0, rxNode=0): interface = interface1 if rxNode == 1 else interface2 global numPacketsTx, numPacketsRx, numPacketsTxErr, numPacketsRxErr, lastTelemetryRequest - print(f"DEBUG watchDog(getNodeTelemetry) numPacketsTx, numPacketsRx, numPacketsTxErr, numPacketsRxErr: {numPacketsTx}, {numPacketsRx}, {numPacketsTxErr}, {numPacketsRxErr}") + print(f"DEBUG watchDog(getNodeTelemetry) numPacketsTx, numPacketsRx, numPacketsTxErr, numPacketsRxErr: {numPacketsTx}, {numPacketsRx}, {numPacketsTxErr}, {numPacketsRxErr}\r", end="") # throttle the telemetry requests to prevent spamming the device if rxNode == 1: if time.time() - lastTelemetryRequest[0]['interface1'] < 600: