diff --git a/sleepyhead/SleepLib/loader_plugins/resmed_loader.cpp b/sleepyhead/SleepLib/loader_plugins/resmed_loader.cpp index 9e46e8aa..be65b9a7 100644 --- a/sleepyhead/SleepLib/loader_plugins/resmed_loader.cpp +++ b/sleepyhead/SleepLib/loader_plugins/resmed_loader.cpp @@ -236,7 +236,7 @@ void ResmedLoader::ParseSTR(Machine *mach, QStringList strfiles) R.max_pressure = EventDataType(sig->data[rec]) * sig->gain + sig->offset; } if ((sig = str.lookupSignal(CPAP_PressureMin))) { - R.max_pressure = EventDataType(sig->data[rec]) * sig->gain + sig->offset; + R.min_pressure = EventDataType(sig->data[rec]) * sig->gain + sig->offset; } if ((sig = str.lookupSignal(RMS9_SetPressure))) { R.set_pressure = EventDataType(sig->data[rec]) * sig->gain + sig->offset;