mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-05 02:30:44 +00:00
Fix for something I broke something in oximetry with that last commit
This commit is contained in:
parent
45cdd1d172
commit
bb6649670b
10
oximetry.cpp
10
oximetry.cpp
@ -242,16 +242,16 @@ void SerialOximeter::compactToEvent(EventList *el)
|
||||
|
||||
el->getData().clear();
|
||||
el->getTime().clear();
|
||||
el->setCount(0);//nel.count());
|
||||
el->setCount(nel.count());
|
||||
|
||||
//el->getData()=nel.getData();
|
||||
//el->getTime()=nel.getTime();
|
||||
el->getData()=nel.getData();
|
||||
el->getTime()=nel.getTime();
|
||||
|
||||
|
||||
for (int i=0;i<nel.count();i++) {
|
||||
/*for (int i=0;i<nel.count();i++) {
|
||||
el->getData().push_back(nel.data(i));
|
||||
el->getTime().push_back(nel.time(i));
|
||||
}
|
||||
} */
|
||||
|
||||
/*double rate=double(el->duration())/double(el->count());
|
||||
el->setType(EVL_Waveform);
|
||||
|
Loading…
Reference in New Issue
Block a user