Update mesh_bot.py

This commit is contained in:
SpudGunMan
2024-07-24 17:40:25 -07:00
parent feb5b189b6
commit 2c9d309b09
+4
View File
@@ -147,6 +147,10 @@ def onReceive(packet, interface):
rxInterface = interface.__dict__.get('devPath')
if rxInterface == port1:
rxNode = 1
elif rxInterface == port2:
rxNode = 2
else:
rxNode = 0
# receive a packet and process it, main instruction loop