CSV only performance fix

Saves around 4ms that were lost on a screen update between the last and the first parameter request from the list
This commit is contained in:
Marianpol 2020-11-13 01:07:16 +01:00
parent 480f5b98de
commit 700e9b92b6

View File

@ -432,6 +432,12 @@ class ECU:
if len(datarefs)==0 and 'DE' not in path: return
if mod_globals.opt_csv and mod_globals.opt_csv_only:
print "Data is sending directly to csv-file"
print ""
print "Press any key to exit"
page = 0
while(True):
@ -453,12 +459,6 @@ class ECU:
self.elm.clear_cache()
if mod_globals.opt_csv and mod_globals.opt_csv_only:
clearScreen()
print "Data is sending directly to csv-file"
print ""
print "Press any key to exit"
for dr in datarefs:
datastr = dr.name
help = dr.type