Update system.py

This commit is contained in:
SpudGunMan
2024-12-04 20:06:33 -08:00
parent 314d36e0dc
commit 6f4e8615a3

View File

@@ -639,9 +639,9 @@ def handleMultiPing(nodeID=0, deviceID=1):
def handleWxBroadcast(deviceID=1):
# only allow API call every 30 minutes
# only allow API call every 15 minutes
clock = datetime.now()
if clock.minute % 30 != 0:
if clock.minute % 15 == 0:
return False
# check for alerts