From 333349e2f780f1543bd3603c175a7824172dc974 Mon Sep 17 00:00:00 2001 From: Mark Watkins Date: Sun, 24 Aug 2014 12:42:14 +1000 Subject: [PATCH] Change order of cms50 requests --- sleepyhead/oximeterimport.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/sleepyhead/oximeterimport.cpp b/sleepyhead/oximeterimport.cpp index a5d81ed1..1328e412 100644 --- a/sleepyhead/oximeterimport.cpp +++ b/sleepyhead/oximeterimport.cpp @@ -222,13 +222,14 @@ void OximeterImport::on_directImportButton_clicked() if (!oximodule) return; - QString model = oximodule->getModel(); - QString user = oximodule->getUser(); - if (p_profile->oxi->syncOximeterClock()) { oximodule->syncClock(); } + QString model = oximodule->getModel(); + QString user = oximodule->getUser(); + + oximodule->resetDevice(); int session_count = oximodule->getSessionCount();