only show storage missing for comma threes

pull/33935/head
Adeeb Shihadeh 7 months ago
parent 83b60a7ba6
commit 12fd9e441f
  1. 2
      system/hardware/hardwared.py

@ -316,7 +316,7 @@ def hardware_thread(end_event, hw_queue) -> None:
set_offroad_alert_if_changed("Offroad_TemperatureTooHigh", show_alert, extra_text=extra_text)
# TODO: this should move to TICI.initialize_hardware, but we currently can't import params there
if TICI:
if TICI and HARDWARE.get_device_type() == "tici":
if not os.path.isfile("/persist/comma/living-in-the-moment"):
if not Path("/data/media").is_mount():
set_offroad_alert_if_changed("Offroad_StorageMissing", True)

Loading…
Cancel
Save