From db336329c58234218f9e6183ed235c75adf0d291 Mon Sep 17 00:00:00 2001 From: Adeeb Shihadeh Date: Tue, 6 Oct 2020 02:10:45 -0700 Subject: [PATCH] fix not going onroad on clean dashcam install (#2280) --- selfdrive/thermald/thermald.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/selfdrive/thermald/thermald.py b/selfdrive/thermald/thermald.py index 10b8a454..fc963242 100755 --- a/selfdrive/thermald/thermald.py +++ b/selfdrive/thermald/thermald.py @@ -363,7 +363,8 @@ def thermald_thread(): should_start = should_start and msg.thermal.freeSpace > 0.02 # confirm we have completed training and aren't uninstalling - should_start = should_start and accepted_terms and completed_training and (not do_uninstall) + should_start = should_start and accepted_terms and (not do_uninstall) and \ + (completed_training or current_branch in ['dashcam', 'dashcam-staging']) # check for firmware mismatch should_start = should_start and fw_version_match