mirror of
https://github.com/SpudGunMan/meshing-around.git
synced 2026-03-28 17:32:36 +01:00
Update system.py
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user