|
|
@ -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) |
|
|
|
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 |
|
|
|
# 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 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) |
|
|
|
set_offroad_alert_if_changed("Offroad_StorageMissing", True) |
|
|
|