From c3232437afcf4dd3da7c8951fb9e8a37aff76ade Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Sun, 6 Oct 2024 16:39:12 -0700 Subject: [PATCH] ooof --- mesh_bot.py | 1 - modules/system.py | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/mesh_bot.py b/mesh_bot.py index e73c141..ba3ea04 100755 --- a/mesh_bot.py +++ b/mesh_bot.py @@ -902,7 +902,6 @@ def onDisconnect(interface): elif interface2_enabled and interface2_type == 'ble': retry_int2 = True -numPacketsTx, numPacketsRx, numPacketsTxErr, numPacketsRxErr = ([-1, -1],) * 4 def onReceive(packet, interface): # Priocess the incoming packet, handles the responses to the packet with auto_response() # Sends the packet to the correct handler for processing diff --git a/modules/system.py b/modules/system.py index aee91f9..46c9c86 100644 --- a/modules/system.py +++ b/modules/system.py @@ -17,6 +17,8 @@ asyncLoop = asyncio.new_event_loop() games_enabled = False multiPingList = [{'message_from_id': 0, 'count': 0, 'type': '', 'deviceID': 0}] lastTelemetryRequest = 0 +numPacketsTx, numPacketsRx, numPacketsTxErr, numPacketsRxErr = ([-1, -1],) * 4 + # Ping Configuration if ping_enabled: