Update hardwared.py

This commit is contained in:
机械小鸽 2025-03-28 18:45:17 +08:00 committed by GitHub
parent 6966ad8d76
commit 08758969a4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -340,7 +340,7 @@ def hardware_thread(end_event, hw_queue) -> None:
if TICI and HARDWARE.get_device_type() == "tici": if TICI and HARDWARE.get_device_type() == "tici":
if not os.path.isfile("/persist/comma/living-in-the-moment"): if not os.path.isfile("/persist/comma/living-in-the-moment"):
if not Path("/data/media").is_mount(): if not Path("/data/media").is_mount():
set_offroad_alert_if_changed("Offroad_StorageMissing", True) pass #set_offroad_alert_if_changed("Offroad_StorageMissing", True)
else: else:
# check for bad NVMe # check for bad NVMe
try: try: