Skip to content

Commit

Permalink
switch default STMin to 350000 due to reports of instability at 250000
Browse files Browse the repository at this point in the history
  • Loading branch information
bri3d committed Oct 1, 2022
1 parent dbb0ad4 commit d17c597
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion VW_Flash_GUI.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
simosshared,
)

DEFAULT_STMIN = 250000
DEFAULT_STMIN = 350000

if sys.platform == "win32":
try:
Expand Down
6 changes: 3 additions & 3 deletions lib/connections/connection_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,17 @@ def stmin_to_isotp(st_min):
return 0xF0 + hundreds_of_us


# st_min is in nanoseconds
# st_min is in us
def connection_setup(
interface,
txid,
rxid,
interface_path=None,
st_min: Union[int, None] = 250000,
st_min: Union[int, None] = 350000,
dq3xx_hack=False,
):
if st_min is None:
st_min = 250000
st_min = 350000

params = {"tx_padding": 0x55}

Expand Down

0 comments on commit d17c597

Please sign in to comment.