fix skipping checking removed rows

This commit is contained in:
interfisch 2021-05-24 19:14:24 +02:00
parent 2f252f594a
commit cc69ccec65
1 changed files with 3 additions and 3 deletions

View File

@ -8,7 +8,7 @@ TODO
int vis_textsize=12; //copy from Visualization class
//String logfile_name="LOG00008_rumfahren_neu.TXT";
String logfile_name="20210524_Phaseadvance_enabled.TXT";
String logfile_name="20210524b_Phaseadvance10_freewheeling.TXT";
int columnCount=20;
boolean useSerial=false; //false=read from csv log, true=read from serial port
@ -125,7 +125,7 @@ void setup() {
print(", "+logdata.getRow(i).getString(is));
}
println();
logdata.removeRow(i);
logdata.removeRow(i); i--;
}else if (Float.isNaN(_checkTimeCurrent) || _checkTimeCurrent <= _checkTimeLast) { //check if time is plausible
print("removed unplausible time:");
for (int is=0;is< logdata.getRow(i).getColumnCount() && logdata.getRow(i).getString(is) != null; is++)
@ -133,7 +133,7 @@ void setup() {
print(", "+logdata.getRow(i).getString(is));
}
println();
logdata.removeRow(i);
logdata.removeRow(i); i--;
}
}
logdata_start_time=logdata.getRow(0).getFloat("time");