diff --git a/oximetry.cpp b/oximetry.cpp index be441794..1ff1b07f 100644 --- a/oximetry.cpp +++ b/oximetry.cpp @@ -489,6 +489,17 @@ void CMS50Serial::onReadyRead() // Process all incoming serial data packets unsigned char c; unsigned char pl,o2; + + if (!import_mode) { + QString data="Read: "; + for (int i=0;isetRecMaxY(100); day->getSessions().clear(); + //QTimer::singleShot(10000,this,SLOT(oximeter_running_check())); if (!oximeter->startLive()) { mainwin->Notify("Oximetry Error!\n\nSomething is wrong with the device connection."); return; } - QTimer::singleShot(1000,this,SLOT(oximeter_running_check())); ui->saveButton->setEnabled(false); day->AddSession(oximeter->getSession());