parent
253005bc1b
commit
cc33387543
@ -1015,6 +1015,7 @@ class ELM:
|
||||
self.lf.flush ()
|
||||
|
||||
# send keepalive
|
||||
if not mod_globals.opt_demo:
|
||||
self.port.reinit() #experimental
|
||||
self.send_cmd (self.startSession)
|
||||
self.lastCMDtime = time.time () # for not to get into infinite loop
|
||||
@ -1727,6 +1728,7 @@ class ELM:
|
||||
|
||||
def init_can(self):
|
||||
|
||||
if not mod_globals.opt_demo:
|
||||
self.port.reinit()
|
||||
|
||||
self.currentprotocol = "can"
|
||||
@ -1815,6 +1817,7 @@ class ELM:
|
||||
|
||||
def init_iso(self):
|
||||
|
||||
if not mod_globals.opt_demo:
|
||||
self.port.reinit()
|
||||
|
||||
self.currentprotocol = "iso"
|
||||
|
Loading…
x
Reference in New Issue
Block a user