From e968173f61fdf93a98280a8a79527127d375fd59 Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Sun, 1 Sep 2024 21:53:01 -0700 Subject: [PATCH] Update pong_bot.py --- pong_bot.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pong_bot.py b/pong_bot.py index 2e72429..c932e7c 100755 --- a/pong_bot.py +++ b/pong_bot.py @@ -143,6 +143,8 @@ def onReceive(packet, interface): message_from_id = 0 # check for a message packet and process it + snr = 0 + rssi = 0 try: if 'decoded' in packet and packet['decoded']['portnum'] == 'TEXT_MESSAGE_APP': message_bytes = packet['decoded']['payload']