Nothing slips past Jimbo.. :)

This commit is contained in:
Mark Watkins 2012-01-09 14:23:15 +10:00
parent a30f27dcfc
commit 9566d23ae8

View File

@ -522,24 +522,26 @@ void FlowParser::calc(bool calcResp, bool calcTv, bool calcTi, bool calcTe, bool
// Respiratory Rate post filtering
/////////////////////////////////////////////////////////////////////
RR->setGain(0.02);
RR->setMin(minrr);
RR->setMax(maxrr);
RR->setFirst(start);
RR->setLast(et);
RR->setCount(rr_count);
if (calcResp) {
RR->setGain(0.02);
RR->setMin(minrr);
RR->setMax(maxrr);
RR->setFirst(start);
RR->setLast(et);
RR->setCount(rr_count);
}
/////////////////////////////////////////////////////////////////////
// Tidal Volume post filtering
/////////////////////////////////////////////////////////////////////
TV->setGain(0.1);
TV->setMin(mintv);
TV->setMax(maxtv);
TV->setFirst(start);
TV->setLast(et);
TV->setCount(tv_count);
if (calcTv) {
TV->setGain(0.1);
TV->setMin(mintv);
TV->setMax(maxtv);
TV->setFirst(start);
TV->setLast(et);
TV->setCount(tv_count);
}
}