ResMed VPAP-S Pressure display fix

This commit is contained in:
Mark Watkins 2014-07-12 21:15:18 +10:00
parent bdea52af4d
commit d0bb6414b6
2 changed files with 3 additions and 1 deletions

View File

@ -281,7 +281,7 @@ void ResmedLoader::ParseSTR(Machine *mach, QStringList strfiles)
if (mod >= 7) {
mode = MODE_ASV;
} else if (mod >= 5) {
} else if (mod >= 3) {
mode = MODE_BIPAP;
} else if (mod >= 1) {
mode = MODE_APAP;

View File

@ -799,6 +799,8 @@ QString Statistics::GenerateHTML()
if (day->settingExists(CPAP_IPAPHi)) {
maxipap = day->settings_max(CPAP_IPAPHi);
} else if (day->settingExists(CPAP_IPAP)) {
maxipap = day->settings_max(CPAP_IPAP);
}
}