CAF 1 on by default, when CFC 0 then CAF 0
This commit is contained in:
parent
0b1bcfa0c3
commit
dff09e1a0a
@ -1930,7 +1930,7 @@ class ELM:
|
|||||||
self.check_answer(self.cmd("at l0"))
|
self.check_answer(self.cmd("at l0"))
|
||||||
self.check_answer(self.cmd("at al"))
|
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("AT CAF1"))
|
||||||
self.check_answer(self.cmd("STCSEGR 1"))
|
self.check_answer(self.cmd("STCSEGR 1"))
|
||||||
self.check_answer(self.cmd("STCSEGT 1"))
|
self.check_answer(self.cmd("STCSEGT 1"))
|
||||||
|
@ -130,7 +130,7 @@ def optParser():
|
|||||||
parser.add_argument("--caf",
|
parser.add_argument("--caf",
|
||||||
help="turn on CAN Auto Formatting. Available only for OBDLink",
|
help="turn on CAN Auto Formatting. Available only for OBDLink",
|
||||||
dest="caf",
|
dest="caf",
|
||||||
default=False,
|
default=True,
|
||||||
action="store_true")
|
action="store_true")
|
||||||
|
|
||||||
parser.add_argument("--n1c",
|
parser.add_argument("--n1c",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user