Bugfix to that previous commit

This commit is contained in:
Mark Watkins 2011-11-27 14:54:40 +10:00
parent c7a15f6d36
commit d02bf56570

View File

@ -1290,8 +1290,8 @@ void PRS1Loader::CalcRespiratoryRate(Session *session)
flow=session->eventlist[CPAP_FlowRate][ws]; flow=session->eventlist[CPAP_FlowRate][ws];
if (flow->count() > 5) { if (flow->count() > 5) {
rr=new EventList(EVL_Event);//EVL_Waveform,1,0,0,0,60000); rr=new EventList(EVL_Event);//EVL_Waveform,1,0,0,0,60000);
ChannelID resp="RespRate"; ChannelID resp="RespRate2";
if (session->eventlist.contains(resp)) resp+="2"; //if (session->eventlist.contains(resp)) resp+="2";
session->eventlist[resp].push_back(rr); session->eventlist[resp].push_back(rr);
filterFlow(flow,rr); filterFlow(flow,rr);
} }