Skip to content

Commit 3085b55

Browse files
fix indentation
1 parent c9cd544 commit 3085b55

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

opendbc/car/honda/carstate.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -199,10 +199,11 @@ def update(self, can_parsers) -> structs.CarState:
199199
# more info here: https://github.com/commaai/openpilot/pull/1867
200200
ret.leftBlindspot = cp_body.vl["BSM_STATUS_LEFT"]["BSM_ALERT"] == 1
201201
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-
])
202+
203+
create_button_events(ret, [
204+
ButtonEvent(cp.vl["SCM_BUTTONS"]["CRUISE_BUTTONS"], BUTTON_MAPS),
205+
ButtonEvent(cp.vl["SCM_BUTTONS"]["CRUISE_SETTING"], SETTINGS_BUTTON_MAPS)
206+
])
206207

207208
return ret
208209

0 commit comments

Comments
 (0)