Skip to content

Commit 6e4b5bb

Browse files
committed
Update glucose reliability to check glucose values
1 parent 37f1b8a commit 6e4b5bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CGMBLEKit/Glucose.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public struct Glucose {
6363
}
6464

6565
public var glucose: HKQuantity? {
66-
guard state.hasReliableGlucose else {
66+
guard state.hasReliableGlucose && glucoseMessage.glucose >= 39 else {
6767
return nil
6868
}
6969

0 commit comments

Comments
 (0)