Skip to content

Commit

Permalink
test accordh is never here
Browse files Browse the repository at this point in the history
  • Loading branch information
sshane committed Feb 28, 2024
1 parent 56e343b commit 21bf0bb
Show file tree
Hide file tree
Showing 2 changed files with 282 additions and 291 deletions.
3 changes: 2 additions & 1 deletion selfdrive/car/honda/interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,9 @@ def _get_params(ret, candidate, fingerprint, car_fw, experimental_long, docs):
ret.flags |= HondaFlags.BOSCH_EXT_HUD.value

# Accord 1.5T CVT has different gearbox message
if candidate == CAR.ACCORD and 0x191 in fingerprint[1]:
if candidate in (CAR.ACCORD, CAR.ACCORDH) and 0x191 in fingerprint[1]:
ret.transmissionType = TransmissionType.cvt
assert candidate != CAR.ACCORDH

# Certain Hondas have an extra steering sensor at the bottom of the steering rack,
# which improves controls quality as it removes the steering column torsion from feedback.
Expand Down
Loading

0 comments on commit 21bf0bb

Please sign in to comment.