iBreeze added Min/Max Pressures

This commit is contained in:
LoudSnorer 2023-11-14 18:39:17 -05:00
parent 085e11d4ee
commit e7ad822b4d

View File

@ -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 <typename T>