From 6261752022049ba5ad2a35ed18ea6b1dea1e5e44 Mon Sep 17 00:00:00 2001 From: sawinglogz <3787776-sawinglogz@users.noreply.gitlab.com> Date: Tue, 28 Apr 2020 13:00:58 -0400 Subject: [PATCH] Fix zero AHI in CSV session export when there are multiple slices. This only affected PRS1, and it seems like the other places where the broken Session::hours() result was used were: - GT_SESSIONS, which seems to be unused - settings_wavg, where it had no effect The other uses of Settings::hours() were where there was only a single slice, in which case it returned the right result: - gSessionTimesChar::paint (the one still in use) - Icon loader - Resmed loader --- Htmldocs/release_notes.html | 1 + oscar/SleepLib/session.h | 1 + 2 files changed, 2 insertions(+) diff --git a/Htmldocs/release_notes.html b/Htmldocs/release_notes.html index 83b4b468..24050842 100644 --- a/Htmldocs/release_notes.html +++ b/Htmldocs/release_notes.html @@ -24,6 +24,7 @@