Toyota: Increment by 5 km/h (5 mph) on long press (#22678)

* Allow 5km/h speed increments on Toyota

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
This commit is contained in:
cydia2020
2021-11-05 08:53:32 +11:00
committed by GitHub
parent c2b95ca6a1
commit d66f0fcc87
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -35,10 +35,10 @@ def create_accel_command(packer, accel, pcm_cancel, standstill_req, lead, acc_ty
"ACC_TYPE": acc_type,
"DISTANCE": 0,
"MINI_CAR": lead,
"ALLOW_LONG_PRESS": 3,
"PERMIT_BRAKING": 1,
"RELEASE_STANDSTILL": not standstill_req,
"CANCEL_REQ": pcm_cancel,
"ALLOW_LONG_PRESS": 1,
}
return packer.make_can_msg("ACC_CONTROL", 0, values)
+1 -1
View File
@@ -1 +1 @@
5b624879c952ec610c431564ebcd3d257d679015
94d3ebac800d4db32d2947ae81fe7969026f40a3