mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-06 03:00:43 +00:00
Intellipap CPAP/APAP mode test
This commit is contained in:
parent
1120836ff8
commit
b18db7399d
@ -825,9 +825,14 @@ int IntellipapLoader::OpenDV6(const QString & path)
|
||||
R.tidalVolume = float(data[28] | data[29] << 8);
|
||||
R.avgBreathRate = float(data[30] | data[31] << 8);
|
||||
|
||||
R.sess->settings[CPAP_PressureMin] = R.pressureSetMin;
|
||||
R.sess->settings[CPAP_PressureMax] = R.pressureSetMax;
|
||||
R.sess->settings[CPAP_Mode] = MODE_APAP;
|
||||
if (data[49] != data[50]) {
|
||||
R.sess->settings[CPAP_PressureMin] = R.pressureSetMin;
|
||||
R.sess->settings[CPAP_PressureMax] = R.pressureSetMax;
|
||||
R.sess->settings[CPAP_Mode] = MODE_APAP;
|
||||
} else {
|
||||
R.sess->settings[CPAP_Mode] = MODE_CPAP;
|
||||
R.sess->settings[CPAP_Pressure] = R.pressureSetMin;
|
||||
}
|
||||
|
||||
summaryList[ts1] = R;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user