implemented latest commits from master branch
This commit is contained in:
parent
062496642f
commit
d2187adfda
@ -1970,7 +1970,7 @@ class ELM:
|
||||
self.check_answer(self.cmd("at l0"))
|
||||
self.check_answer(self.cmd("at al"))
|
||||
|
||||
if mod_globals.opt_obdlink and mod_globals.opt_caf:
|
||||
if mod_globals.opt_obdlink and mod_globals.opt_caf and not self.ATCFC0:
|
||||
self.check_answer(self.cmd("AT CAF1"))
|
||||
self.check_answer(self.cmd("STCSEGR 1"))
|
||||
self.check_answer(self.cmd("STCSEGT 1"))
|
||||
@ -2210,7 +2210,7 @@ class ELM:
|
||||
if not any(s in resp for s in ['?', 'NR']):
|
||||
# add it to the list
|
||||
param_to_send += did
|
||||
predicted_response_length += len(did) + int(dataids[did].dataBitLength)/4
|
||||
predicted_response_length += len(self.getFromCache('22' + did).replace(' ', '')) - 2
|
||||
|
||||
# if module does not support any did, we cannot check performance level
|
||||
if not param_to_send:
|
||||
|
@ -225,7 +225,7 @@ def optParser():
|
||||
parser.add_argument("--caf",
|
||||
help="turn on CAN Auto Formatting. Available only for OBDLink",
|
||||
dest="caf",
|
||||
default=False,
|
||||
default=True,
|
||||
action="store_true")
|
||||
|
||||
parser.add_argument("--n1c",
|
||||
|
@ -130,7 +130,7 @@ def optParser():
|
||||
parser.add_argument("--caf",
|
||||
help="turn on CAN Auto Formatting. Available only for OBDLink",
|
||||
dest="caf",
|
||||
default=False,
|
||||
default=True,
|
||||
action="store_true")
|
||||
|
||||
parser.add_argument("--n1c",
|
||||
|
Loading…
x
Reference in New Issue
Block a user