Hyundai: improve EV6 resume reliability (#25847)

* Hyundai: improve EV6 resume reliability

* this is pretty good

Co-authored-by: Comma Device <device@comma.ai>
pull/25853/head
Adeeb Shihadeh 3 years ago committed by GitHub
parent c5df17cd57
commit 2cba29eabe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      selfdrive/car/hyundai/carcontroller.py

@ -97,6 +97,7 @@ class CarController:
# cruise standstill resume
elif CC.cruiseControl.resume:
if not (self.CP.flags & HyundaiFlags.CANFD_ALT_BUTTONS):
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:

Loading…
Cancel
Save