Skip to content

Commit

Permalink
Merge pull request #17 from commaai/devel
Browse files Browse the repository at this point in the history
Fix rear view mirror setting
  • Loading branch information
pjlao307 committed Sep 3, 2017
2 parents 0bc20ce + 94fe677 commit 5ba1590
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 5ba1590

Please sign in to comment.