Honda: set MINI_CAR when engaged (#26797)

* Update hondacan.py

* update refs

Co-authored-by: Shane Smiskol <shane@smiskol.com>
This commit is contained in:
royjr
2022-12-14 18:51:24 -05:00
committed by GitHub
parent a143ebf648
commit 9743b37cf2
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -111,7 +111,7 @@ def create_ui_commands(packer, CP, enabled, pcm_speed, hud, is_metric, acc_hud,
if CP.openpilotLongitudinalControl:
acc_hud_values = {
'CRUISE_SPEED': hud.v_cruise,
'ENABLE_MINI_CAR': 1,
'ENABLE_MINI_CAR': 1 if enabled else 0,
'HUD_DISTANCE': 0, # max distance setting on display
'IMPERIAL_UNIT': int(not is_metric),
'HUD_LEAD': 2 if enabled and hud.lead_visible else 1 if enabled else 0,
+1 -1
View File
@@ -1 +1 @@
67a4bd615017128ce04d0836608d2c7f32432e3e
358d330ffde4ecd679129b0e0a20806aaf21b786