Skip to content

Commit

Permalink
Fix rear view mirror setting
Browse files Browse the repository at this point in the history
  • Loading branch information
espes committed Aug 29, 2017
1 parent 3de8509 commit 94fe677
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion selfdrive/controls/controlsd.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def __init__(self, gctx, rate=100):

# rear view camera state
self.rear_view_toggle = False
self.rear_view_allowed = bool(params.get("IsRearViewMirror"))
self.rear_view_allowed = (params.get("IsRearViewMirror") == "1")

self.v_cruise_kph = 255

Expand Down

0 comments on commit 94fe677

Please sign in to comment.