Skip to content

Commit

Permalink
fix not going onroad on clean dashcam install (commaai#2280)
Browse files Browse the repository at this point in the history
  • Loading branch information
adeebshihadeh authored and pd0wm committed Oct 6, 2020
1 parent 7a7f343 commit db33632
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion selfdrive/thermald/thermald.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit db33632

Please sign in to comment.