mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-02-19 06:33:57 +08:00
Honda Nidec: don't actuate while longitudinal is inactive (#24028)
* don't command any pcm_speed when long is not active * update refs
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user