这是indexloc提供的服务,不要输入任何密码
Skip to content
3 changes: 2 additions & 1 deletion opendbc/car/hyundai/interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ def _get_params(ret: structs.CarParams, candidate, fingerprint, car_fw, experime

ret.enableBsm = 0x1e5 in fingerprint[CAN.ECAN]

if 0x105 in fingerprint[CAN.ECAN]:
# Check if the car is hybrid. Only HEV/PHEV cars have 0xFA on E-CAN.
if 0xFA in fingerprint[CAN.ECAN]:
ret.flags |= HyundaiFlags.HYBRID.value

if lka_steering:
Expand Down