Toyota: go into standstill if interceptor detected (#25024)

* Toyota: go into standstill if interceptor detected

* or
This commit is contained in:
cydia2020
2022-09-17 16:28:05 +10:00
committed by GitHub
parent aa0d128422
commit 407448bbfb

View File

@@ -81,7 +81,7 @@ class CarController:
pcm_cancel_cmd = 1
# on entering standstill, send standstill request
if CS.out.standstill and not self.last_standstill and self.CP.carFingerprint not in NO_STOP_TIMER_CAR:
if CS.out.standstill and not self.last_standstill and (self.CP.carFingerprint not in NO_STOP_TIMER_CAR or self.CP.enableGasInterceptor):
self.standstill_req = True
if CS.pcm_acc_status != 8:
# pcm entered standstill or it's disabled