Honda Nidec: don't actuate while longitudinal is inactive (#24028)
* don't command any pcm_speed when long is not active * update refspull/24012/merge
parent
a55e25d9d2
commit
c88ced1f10
|
@ -185,7 +185,7 @@ class CarController:
|
|||
0.5]
|
||||
# The Honda ODYSSEY seems to have different PCM_ACCEL
|
||||
# msgs, is it other cars too?
|
||||
if self.CP.enableGasInterceptor:
|
||||
if self.CP.enableGasInterceptor or not CC.longActive:
|
||||
pcm_speed = 0.0
|
||||
pcm_accel = int(0.0)
|
||||
elif self.CP.carFingerprint in HONDA_NIDEC_ALT_PCM_ACCEL:
|
||||
|
|
|
@ -1 +1 @@
|
|||
e740c2c793a5e2af19a5d52d7a4a45d77eca9412
|
||||
5bf6cd4a8d3c96eb333ae58d81af3907ac8b2804
|
Loading…
Reference in New Issue