mirror of
https://github.com/SpudGunMan/meshing-around.git
synced 2026-07-03 08:21:40 +02:00
Update system.py
This commit is contained in:
+2
-1
@@ -1089,10 +1089,11 @@ async def watchdog():
|
||||
while True:
|
||||
await asyncio.sleep(20)
|
||||
|
||||
# check all interfaces
|
||||
for i in range(1, 10):
|
||||
interface = globals().get(f'interface{i}')
|
||||
retry_int = globals().get(f'retry_int{i}')
|
||||
if interface is not None and not retry_int:
|
||||
if interface is not None and not retry_int and globals().get(f'interface{i}_enabled'):
|
||||
try:
|
||||
firmware = getNodeFirmware(0, i)
|
||||
except Exception as e:
|
||||
|
||||
Reference in New Issue
Block a user