Skip to content

Commit aac6084

Browse files
authored
Merge pull request #386 from loopandlearn/detect-isf-unit
Adjust ISF Unit Detection Threshold from 15 to 16
2 parents 409d974 + 9ee7e50 commit aac6084

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

LoopFollow/Controllers/Nightscout/DeviceStatusOpenAPS.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ extension MainViewController {
4747
var enactedISF: HKQuantity?
4848
if let enactedISFValue = enactedOrSuggested["ISF"] as? Double {
4949
var determinedISFUnit: HKUnit = .milligramsPerDeciliter
50-
if enactedISFValue < 15 {
50+
if enactedISFValue < 16 {
5151
determinedISFUnit = .millimolesPerLiter
5252
}
5353
enactedISF = HKQuantity(unit: determinedISFUnit, doubleValue: enactedISFValue)

0 commit comments

Comments
 (0)