mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-05 10:40:42 +00:00
Correct determination of CPAP Mode
This commit is contained in:
parent
1659b3e6bf
commit
da60a5aa99
@ -304,7 +304,7 @@ EventDataType Day::settings_wavg(ChannelID code)
|
||||
double s0 = 0, s1 = 0, s2 = 0, tmp;
|
||||
|
||||
for (auto & sess : sessions) {
|
||||
if (sess->enabled()) {
|
||||
if (sess->enabled() && sess->type() == MT_CPAP) {
|
||||
auto set = sess->settings.find(code);
|
||||
|
||||
if (set != sess->settings.end()) {
|
||||
|
Loading…
Reference in New Issue
Block a user