Subaru: ES_Distance cruise cancel safety (#29362)

This commit is contained in:
Justin Newberry
2023-08-13 22:14:13 -07:00
committed by GitHub
parent de66ba0187
commit c8cae714c6
2 changed files with 2 additions and 1 deletions
+1 -1
Submodule panda updated: 7dbdf6ba2b...a0344a11e7
+1
View File
@@ -43,6 +43,7 @@ def create_es_distance(packer, es_distance_msg, bus, pcm_cancel_cmd):
values["COUNTER"] = (values["COUNTER"] + 1) % 0x10
if pcm_cancel_cmd:
values["Cruise_Cancel"] = 1
values["Cruise_Throttle"] = 1818 # inactive throttle
return packer.make_can_msg("ES_Distance", bus, values)