mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-07-20 20:32:06 +08:00
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:
@@ -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 @@
|
||||
67a4bd615017128ce04d0836608d2c7f32432e3e
|
||||
358d330ffde4ecd679129b0e0a20806aaf21b786
|
||||
Reference in New Issue
Block a user