Skip to content

Commit

Permalink
Merge branch 'tesla-mads-fixes' into tesla-port-dev
Browse files Browse the repository at this point in the history
  • Loading branch information
carleeno committed Aug 8, 2024
2 parents 0fc9e11 + 598eb56 commit 17151f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion selfdrive/car/tesla/interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def _update(self, c):
# MADS button (right scroll wheel click) is used for voice command
# So we use double-click to toggle MADS
now = time.monotonic()
if now - self.last_mads_press < 0.5:
if now - self.last_mads_press < 1.0:
self.CS.madsEnabled = not self.CS.madsEnabled
self.last_mads_press = -1
else:
Expand Down

0 comments on commit 17151f6

Please sign in to comment.