mirror of
https://github.com/MoreTore/openpilot.git
synced 2026-08-04 15:56:08 +08:00
@@ -245,6 +245,10 @@ def thermald_thread():
|
||||
if registered_count > 10:
|
||||
cloudlog.warning(f"Modem stuck in registered state {network_info}")
|
||||
|
||||
os.system("nmcli radio wwan off")
|
||||
os.system("nmcli radio wwan on")
|
||||
registered_count = 0
|
||||
|
||||
except Exception:
|
||||
cloudlog.exception("Error getting network status")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user