From 7d2ff25b05c10759ccbd805a4cae6a88f971274e Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Tue, 8 Oct 2024 01:47:35 -0700 Subject: [PATCH] Update system.py --- modules/system.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/system.py b/modules/system.py index 623ec40..7240219 100644 --- a/modules/system.py +++ b/modules/system.py @@ -631,11 +631,11 @@ def displayNodeTelemetry(nodeID=0, rxNode=0): # throttle the telemetry requests to prevent spamming the device if rxNode == 1: - if time.time() - telemetryData[0]['interface1'] < 120: + if time.time() - telemetryData[0]['interface1'] < 600: return -1 telemetryData[0]['interface1'] = time.time() elif rxNode == 2: - if time.time() - telemetryData[0]['interface2'] < 120: + if time.time() - telemetryData[0]['interface2'] < 600: return -1 telemetryData[0]['interface2'] = time.time() @@ -661,7 +661,7 @@ def displayNodeTelemetry(nodeID=0, rxNode=0): dataResponse = f"Telemetry:{rxNode}" # packet info telemetry - dataResponse += f" numPacketsRx:{numPacketsRx} umPacketsRxErr:{numPacketsRxErr} numPacketsTxErr:{numPacketsTxErr} numPacketsTx:{numPacketsTx}" + dataResponse += f" numPacketsRx:{numPacketsRx} umPacketsRxErr:{numPacketsRxErr} numPacketsTx:{numPacketsTx} numPacketsTxErr:{numPacketsTxErr}" # Channel utilization and airUtilTx dataResponse += " ChUtil%:" + str(round(chutil, 2)) + " AirTx%:" + str(round(airUtilTx, 2))