mirror of
https://github.com/SpudGunMan/meshing-around.git
synced 2026-05-07 13:54:30 +02:00
Update system.py
This commit is contained in:
+10
-2
@@ -674,9 +674,17 @@ def handleAlertBroadcast(deviceID=1):
|
||||
if clock.second > 17:
|
||||
return False
|
||||
|
||||
|
||||
# check for alerts
|
||||
alertWx = alertBrodcastNOAA()
|
||||
alertFema = getIpawsAlert(latitudeValue,longitudeValue, shortAlerts=True)
|
||||
if wxAlertBroadcastEnabled:
|
||||
alertWx = alertBrodcastNOAA()
|
||||
else:
|
||||
alertWx = NO_ALERTS
|
||||
|
||||
if emergencyAlertBrodcastEnabled:
|
||||
alertFema = getIpawsAlert(latitudeValue,longitudeValue, shortAlerts=True)
|
||||
else:
|
||||
alertFema = NO_ALERTS
|
||||
|
||||
if enableGBalerts:
|
||||
alertUk = get_govUK_alerts()
|
||||
|
||||
Reference in New Issue
Block a user