From e7ad822b4d9632a0c3cd18ac59c226a7f64b1966 Mon Sep 17 00:00:00 2001 From: LoudSnorer Date: Tue, 14 Nov 2023 18:39:17 -0500 Subject: [PATCH] iBreeze added Min/Max Pressures --- oscar/SleepLib/loader_plugins/resvent_loader.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/oscar/SleepLib/loader_plugins/resvent_loader.cpp b/oscar/SleepLib/loader_plugins/resvent_loader.cpp index 7238c352..216bbe90 100644 --- a/oscar/SleepLib/loader_plugins/resvent_loader.cpp +++ b/oscar/SleepLib/loader_plugins/resvent_loader.cpp @@ -323,6 +323,8 @@ void LoadEvents(const QString& session_folder_path, Session* session, const Usag std::for_each(mapping.cbegin(), mapping.cend(), [&](EventType event_type){ UpdateEvents(event_type, events, session); }); + session->settings[CPAP_PressureMin] = 4.0; + session->settings[CPAP_PressureMax] = qMax(session->calcMax(CPAP_Pressure),session->calcMax(CPAP_IPAP)); } template