fix BC UI for F150 maybe

This commit is contained in:
alan-polk 2024-08-13 11:09:48 -05:00
parent 6cd741ddf0
commit e76a35d996
1 changed files with 6 additions and 6 deletions

View File

@ -27,16 +27,16 @@ class CarInterface(CarInterfaceBase):
ret.radarUnavailable = not (ret.flags & FordFlags.CANFD)
print(f'Radar Unavailable: {ret.radarUnavailable}')
if fingerprint == "FORD_MUSTANG_MACH_E_MK1":
FordConfig.BLUECRUISE_CLUSTER_PRESENT = True
print(f'Blue Cruise Cluster Present: {FordConfig.BLUECRUISE_CLUSTER_PRESENT}')
else:
FordConfig.BLUECRUISE_CLUSTER_PRESENT = any(fw.ecu == Ecu.hud for fw in car_fw) # Check for blue cruise cluster
print(f'Blue Cruise Cluster Present: {FordConfig.BLUECRUISE_CLUSTER_PRESENT}')
FordConfig.BLUECRUISE_CLUSTER_PRESENT = any(fw.ecu == Ecu.hud for fw in car_fw) # Check for blue cruise cluster
print(f'Blue Cruise Cluster Present: {FordConfig.BLUECRUISE_CLUSTER_PRESENT}')
for fw in car_fw:
print(f'ECU: {fw.ecu}, FW Version: {fw.fwVersion}')
if fingerprint == "FORD_MUSTANG_MACH_E_MK1":
FordConfig.BLUECRUISE_CLUSTER_PRESENT = True
print(f'Blue Cruise Cluster Present: {FordConfig.BLUECRUISE_CLUSTER_PRESENT}')
ret.steerControlType = car.CarParams.SteerControlType.angle
ret.steerActuatorDelay = 0.05
ret.steerLimitTimer = 1.0