Toyota: Gas Interceptor always set standstill_req (#437)

This commit is contained in:
Jason Wen
2026-03-17 04:55:52 -04:00
committed by GitHub
parent 96a96b80da
commit 62ab17c836

View File

@@ -176,7 +176,7 @@ class CarController(CarControllerBase, GasInterceptorCarController):
# on entering standstill, send standstill request for older TSS-P cars that aren't designed to stay engaged at a stop
if self.CP.carFingerprint not in NO_STOP_TIMER_CAR or self.CP_SP.enableGasInterceptor:
if CS.out.standstill and not self.last_standstill and not self.CP_SP.flags & ToyotaFlagsSP.STOP_AND_GO_HACK:
if CS.out.standstill and not self.last_standstill and (self.CP_SP.enableGasInterceptor or not self.CP_SP.flags & ToyotaFlagsSP.STOP_AND_GO_HACK):
self.standstill_req = True
if CS.pcm_acc_status != 8:
# pcm entered standstill or it's disabled