Update system.py

This commit is contained in:
SpudGunMan
2024-07-31 14:08:13 -07:00
parent 07f07c34d8
commit 81f27aeef4

View File

@@ -342,8 +342,8 @@ async def watchdog():
if interface2_enabled:
try:
myinfo = interface2.getMyNodeInfo()
myNodeNum2 = myinfo['num']
myinfo2 = interface2.getMyNodeInfo()
myNodeNum2 = myinfo2['num']
#print(f"{log_timestamp()} System: Got Device2 {get_name_from_number(myNodeNum2, 'long', 2)},")
except Exception as e:
print(f"{log_timestamp()} System: Error getting myNodeNum from interface2: {e}")