From c82f847f511d55edfb1511a0db0afb2ec90d92b3 Mon Sep 17 00:00:00 2001 From: Mark Watkins Date: Fri, 27 Jun 2014 00:18:45 +1000 Subject: [PATCH] Fix ResMed AutoSet min pressure reading --- sleepyhead/SleepLib/loader_plugins/resmed_loader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;