Skip to content

Commit

Permalink
Increase default number of blinks when tapping (commaai#134)
Browse files Browse the repository at this point in the history
  • Loading branch information
neon-dev authored Dec 9, 2019
1 parent 1eb3ddb commit 8070c37
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion selfdrive/car/tesla/carstate.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ def __init__(self, CP):
self.spinnerText = ""
self.hsoNumbPeriod = 1.5
self.ldwNumbPeriod = 1.5
self.tapBlinkerExtension = 0
self.tapBlinkerExtension = 2
self.ahbOffDuration = 5
#read config file
read_config_file(self)
Expand Down
2 changes: 1 addition & 1 deletion selfdrive/car/tesla/readconfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ def read(self, into, config_path):
into.tapBlinkerExtension, didUpdate = self.read_config_entry(
config, configr, prev_file_contents, section = pref_section,
entry = 'tap_blinker_extension', entry_type = int,
default_value = 0,
default_value = 2,
comment = 'Number of additional blinks when tapping the turn signal stalk. A value of 2 means 5 blinks total, because the car normally blinks 3 times.'
)
file_changed |= didUpdate
Expand Down

0 comments on commit 8070c37

Please sign in to comment.