This commit is contained in:
SpudGunMan
2024-10-06 16:39:12 -07:00
parent cf4b51a297
commit c3232437af
2 changed files with 2 additions and 1 deletions

View File

@@ -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

View File

@@ -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: