mirror of
https://github.com/MoreTore/openpilot.git
synced 2026-08-22 08:33:44 +08:00
Hyundai: improve EV6 resume reliability (#25847)
* Hyundai: improve EV6 resume reliability
* this is pretty good
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 2cba29eabe
This commit is contained in:
@@ -97,7 +97,8 @@ class CarController:
|
||||
# cruise standstill resume
|
||||
elif CC.cruiseControl.resume:
|
||||
if not (self.CP.flags & HyundaiFlags.CANFD_ALT_BUTTONS):
|
||||
can_sends.append(hyundaicanfd.create_buttons(self.packer, CS.buttons_counter+1, Buttons.RES_ACCEL))
|
||||
for _ in range(20):
|
||||
can_sends.append(hyundaicanfd.create_buttons(self.packer, CS.buttons_counter+1, Buttons.RES_ACCEL))
|
||||
self.last_button_frame = self.frame
|
||||
else:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user