From 6adfbdf8639724de47af5c29c3eaf0dbcb131b7f Mon Sep 17 00:00:00 2001 From: Jason Wen Date: Mon, 28 Aug 2023 01:51:23 -0400 Subject: [PATCH] action --- selfdrive/car/hyundai/carcontroller.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/selfdrive/car/hyundai/carcontroller.py b/selfdrive/car/hyundai/carcontroller.py index 9cf9aa64a7..25ba032920 100644 --- a/selfdrive/car/hyundai/carcontroller.py +++ b/selfdrive/car/hyundai/carcontroller.py @@ -59,7 +59,7 @@ class CarController: def create_button_messages(self, CC, CS, can_sends, use_clu11): # Determine which messages to send button commands to based on the platform's primary cruise button messages if use_clu11: - # Platforms that have CLU11|0x4F1 (mainly CAN platforms) + # Platforms that use CLU11|0x4F1 (mainly CAN platforms) if CC.cruiseControl.cancel: can_sends.append(hyundaican.create_clu11(self.packer, self.frame, CS.clu11, Buttons.CANCEL, self.CP.carFingerprint)) elif CC.cruiseControl.resume: @@ -70,7 +70,7 @@ class CarController: if (self.frame - self.last_button_frame) * DT_CTRL >= 0.15: self.last_button_frame = self.frame else: - # Platforms that do not have CLU11|0x4F1 (mainly CAN-FD platforms) + # Platforms that do not use CLU11|0x4F1 (mainly CAN-FD platforms) if (self.frame - self.last_button_frame) * DT_CTRL > 0.25: # cruise cancel if CC.cruiseControl.cancel: