diff --git a/selfdrive/thermald/thermald.py b/selfdrive/thermald/thermald.py index 1d807c9ab..a2d63f291 100755 --- a/selfdrive/thermald/thermald.py +++ b/selfdrive/thermald/thermald.py @@ -351,9 +351,7 @@ def thermald_thread(): set_offroad_alert_if_changed("Offroad_TemperatureTooHigh", (not startup_conditions["device_temp_good"])) if TICI: - nvme_path = Path("/data/media") - startup_conditions["nvme_mounted"] = nvme_path.is_mount() - set_offroad_alert_if_changed("Offroad_NvmeMissing", (not startup_conditions["nvme_mounted"])) + set_offroad_alert_if_changed("Offroad_NvmeMissing", (not Path("/data/media").is_mount())) # Handle offroad/onroad transition should_start = all(startup_conditions.values())