From 24f122b21e8855afccb7b7853bdeb07edc711672 Mon Sep 17 00:00:00 2001 From: firestar5683 <168790843+firestar5683@users.noreply.github.com> Date: Tue, 3 Jun 2025 00:18:35 -0500 Subject: [PATCH] Update carcontroller.py --- selfdrive/car/gm/carcontroller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selfdrive/car/gm/carcontroller.py b/selfdrive/car/gm/carcontroller.py index 4f20ae1ae2..10158b06bf 100644 --- a/selfdrive/car/gm/carcontroller.py +++ b/selfdrive/car/gm/carcontroller.py @@ -182,7 +182,7 @@ class CarController(CarControllerBase): # Overflow spoof: insert extra when accumulator allows if self.spoof_accum >= 0.5 and not self.spoof_over_sent and interval_ns > 0: slot2_ns = self.prev_steer_ts_ns + (interval_ns * 2) // 3 - if now_nanos >= slot2_ns and now_nanos - self.last_steer_ts_ns >= 20_000_000: + if now_nanos >= slot2_ns and now_nanos - self.last_steer_ts_ns >= 21_000_000: paddle_sends.append(gmcan.create_prndl2_command(self.packer_pt, CanBus.POWERTRAIN, True)) paddle_sends.append(gmcan.create_regen_paddle_command(self.packer_pt, CanBus.POWERTRAIN, True)) self.last_spoof_ts_ns = now_nanos