calcs.cpp: Remove debug statements no longer needed

This commit is contained in:
Guy Scharf 2021-08-18 22:30:43 -07:00
parent 81856e0866
commit 3808943f65

View File

@ -613,9 +613,11 @@ void FlowParser::calc(bool calcResp, bool calcTv, bool calcTi, bool calcTe, bool
tv = 300; // If unreasonable, just set to a "reasonable" number. tv = 300; // If unreasonable, just set to a "reasonable" number.
tvlast = tvlast2 = tvlast3 = tv; tvlast = tvlast2 = tvlast3 = tv;
} }
if (tv_count < 4) {
qDebug() << "tv" << tv << tvlast << tvlast2 << tvlast3 << "avg" << (tvlast + tvlast2 + tvlast3 + tv*2)/5; // if (tv_count < 4) {
} // qDebug() << "tv" << tv << tvlast << tvlast2 << tvlast3 << "avg" << (tvlast + tvlast2 + tvlast3 + tv*2)/5;
// }
tv = (tvlast + tvlast2 + tvlast3 + tv*2)/5; tv = (tvlast + tvlast2 + tvlast3 + tv*2)/5;
tvlast3 = tvlast2; tvlast3 = tvlast2;
tvlast2 = tvlast; tvlast2 = tvlast;