We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9cd544 commit 3085b55Copy full SHA for 3085b55
opendbc/car/honda/carstate.py
@@ -199,10 +199,11 @@ def update(self, can_parsers) -> structs.CarState:
199
# more info here: https://github.com/commaai/openpilot/pull/1867
200
ret.leftBlindspot = cp_body.vl["BSM_STATUS_LEFT"]["BSM_ALERT"] == 1
201
ret.rightBlindspot = cp_body.vl["BSM_STATUS_RIGHT"]["BSM_ALERT"] == 1
202
- create_button_events(ret, [
203
- ButtonEvent(cp.vl["SCM_BUTTONS"]["CRUISE_BUTTONS"], BUTTON_MAPS),
204
- ButtonEvent(cp.vl["SCM_BUTTONS"]["CRUISE_SETTING"], SETTINGS_BUTTON_MAPS)
205
- ])
+
+ create_button_events(ret, [
+ ButtonEvent(cp.vl["SCM_BUTTONS"]["CRUISE_BUTTONS"], BUTTON_MAPS),
+ ButtonEvent(cp.vl["SCM_BUTTONS"]["CRUISE_SETTING"], SETTINGS_BUTTON_MAPS)
206
+ ])
207
208
return ret
209
0 commit comments