9q fix#23 mod_term demo mode
This commit is contained in:
parent
db29ea02f6
commit
c9bf6b9326
@ -799,8 +799,9 @@ def main():
|
|||||||
elm = mod_elm.ELM( mod_globals.opt_port, mod_globals.opt_speed, True )
|
elm = mod_elm.ELM( mod_globals.opt_port, mod_globals.opt_speed, True )
|
||||||
|
|
||||||
# change serial port baud rate
|
# change serial port baud rate
|
||||||
|
if not mod_globals.opt_demo:
|
||||||
elm.port.check_elm()
|
elm.port.check_elm()
|
||||||
if mod_globals.opt_speed < mod_globals.opt_rate and not mod_globals.opt_demo:
|
if mod_globals.opt_speed < mod_globals.opt_rate:
|
||||||
elm.port.soft_boudrate(mod_globals.opt_rate)
|
elm.port.soft_boudrate(mod_globals.opt_rate)
|
||||||
|
|
||||||
elm.currentaddress = '7A'
|
elm.currentaddress = '7A'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user