From 7d355f3699b2bf310d64ce51b05e67bb2f8d1677 Mon Sep 17 00:00:00 2001 From: sawinglogz <3787776-sawinglogz@users.noreply.gitlab.com> Date: Sun, 1 Dec 2019 18:16:57 -0500 Subject: [PATCH] Confirmed F5V1 slice 8 has a timestamp. --- oscar/SleepLib/loader_plugins/prs1_loader.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/oscar/SleepLib/loader_plugins/prs1_loader.cpp b/oscar/SleepLib/loader_plugins/prs1_loader.cpp index 6258ea8a..3800cb46 100644 --- a/oscar/SleepLib/loader_plugins/prs1_loader.cpp +++ b/oscar/SleepLib/loader_plugins/prs1_loader.cpp @@ -5668,11 +5668,7 @@ bool PRS1DataChunk::ParseSummaryF5V012(void) tt += data[pos] | (data[pos+1] << 8); // This adds to the total duration (otherwise it won't match report) break; case 8: // ??? - tt += data[pos] | (data[pos+1] << 8); // Since 7 and 8 seem to occur near each other, let's assume 8 also has a timestamp - CHECK_VALUE(pos, 1); - CHECK_VALUE(chunk_size, 3); - CHECK_VALUE(data[pos], 0); // and alert us if the timestamp is nonzero - CHECK_VALUE(data[pos+1], 0); + tt += data[pos] | (data[pos+1] << 8); // This also adds to the total duration (otherwise it won't match report) break; case 9: // Humidifier setting change tt += data[pos] | (data[pos+1] << 8); // This adds to the total duration (otherwise it won't match report)