From 3b5ec9848a96ab9cd4b32c22b09f378984826e07 Mon Sep 17 00:00:00 2001 From: Steve Gearhart Date: Wed, 17 Jan 2024 20:50:25 +0000 Subject: [PATCH] Update prisma_loader.cpp --- oscar/SleepLib/loader_plugins/prisma_loader.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/oscar/SleepLib/loader_plugins/prisma_loader.cpp b/oscar/SleepLib/loader_plugins/prisma_loader.cpp index d7385a1f..5f7b8561 100644 --- a/oscar/SleepLib/loader_plugins/prisma_loader.cpp +++ b/oscar/SleepLib/loader_plugins/prisma_loader.cpp @@ -194,11 +194,11 @@ void PrismaImport::run() break; } - session->settings[CPAP_PressureMin] = parameters[PRISMA_SMART_PRESSURE] / 100; - session->settings[CPAP_PressureMax] = parameters[PRISMA_SMART_PRESSURE_MAX] / 100; + session->settings[CPAP_PressureMin] = parameters[PRISMA_SMART_PRESSURE] / 100.0; + session->settings[CPAP_PressureMax] = parameters[PRISMA_SMART_PRESSURE_MAX] / 100.0; session->settings[Prisma_SoftPAP] = parameters[PRISMA_SMART_SOFTPAP]; session->settings[Prisma_PSoft] = parameters[PRISMA_SMART_PSOFT] / 100.0; - session->settings[Prisma_PSoft_Min] = parameters[PRISMA_SMART_PSOFT_MIN] / 100; + session->settings[Prisma_PSoft_Min] = parameters[PRISMA_SMART_PSOFT_MIN] / 100.0; session->settings[Prisma_AutoStart] = parameters[PRISMA_SMART_AUTOSTART]; session->settings[Prisma_Softstart_Time] = parameters[PRISMA_SMART_SOFTSTART_TIME];