瀏覽代碼

wider clamp range

Ivan Valkou 4 年之前
父節點
當前提交
c13c354067
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      FreeAPS/Sources/APS/CGM/Calibrations/CalibrationService.swift

+ 2 - 2
FreeAPS/Sources/APS/CGM/Calibrations/CalibrationService.swift

@@ -31,8 +31,8 @@ final class BaseCalibrationService: CalibrationService, Injectable {
         static let maxSlope = 1.25
         static let minIntercept = -100.0
         static let maxIntercept = 100.0
-        static let maxValue = 400.0
-        static let minValue = 40.0
+        static let maxValue = 500.0
+        static let minValue = 0.0
     }
 
     @Injected() var storage: FileStorage!