From cc81c75ea06d15ffe5ad4cf0b9a6ed787f265ea0 Mon Sep 17 00:00:00 2001 From: sawinglogz <3787776-sawinglogz@users.noreply.gitlab.com> Date: Sun, 26 Sep 2021 12:25:49 -0400 Subject: [PATCH] Update Viatom warnings based on further experimentation. Thanks for Ratchick for figuring out the mystery header value! --- oscar/SleepLib/loader_plugins/viatom_loader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oscar/SleepLib/loader_plugins/viatom_loader.cpp b/oscar/SleepLib/loader_plugins/viatom_loader.cpp index d4c02d0b..c2388e4a 100644 --- a/oscar/SleepLib/loader_plugins/viatom_loader.cpp +++ b/oscar/SleepLib/loader_plugins/viatom_loader.cpp @@ -348,7 +348,7 @@ bool ViatomFile::ParseHeader() //int time_under_90pct = header[22] | (header[23] << 8); // in seconds //int events_under_90pct = header[24]; // number of distinct events //float o2_score = header[25] * 0.1; - CHECK_VALUES(header[26], 0, 4); // 4 has been seen only once + //CHECK_VALUES(header[26], 0, 4); // number of steps taken (when nonzero, only reported by some models) CHECK_VALUE(header[27], 0); CHECK_VALUE(header[28], 0); CHECK_VALUE(header[29], 0);