Skip to content

Commit 599690d

Browse files
authored
Merge pull request #38 from loopandlearn/2hlollipop
2 hour Absorption Time for Lollipop
2 parents 2cef0f2 + 426fa44 commit 599690d

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

2hlollipop/2hlollipop.patch

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
Submodule Loop contains modified content
2+
diff --git a/Loop/LoopCore/LoopCoreConstants.swift b/Loop/LoopCore/LoopCoreConstants.swift
3+
index d56f2ab9..42e9dfa3 100644
4+
--- a/Loop/LoopCore/LoopCoreConstants.swift
5+
+++ b/Loop/LoopCore/LoopCoreConstants.swift
6+
@@ -16,7 +16,7 @@ public enum LoopCoreConstants {
7+
/// The amount of time in the future a glucose value should be considered valid
8+
public static let futureGlucoseDataInterval = TimeInterval(minutes: 5)
9+
10+
- public static let defaultCarbAbsorptionTimes: CarbStore.DefaultAbsorptionTimes = (fast: .minutes(30), medium: .hours(3), slow: .hours(5))
11+
+ public static let defaultCarbAbsorptionTimes: CarbStore.DefaultAbsorptionTimes = (fast: .hours(2), medium: .hours(3), slow: .hours(5))
12+
13+
/// How much historical glucose to include in a dosing decision
14+
/// Somewhat arbitrary, but typical maximum visible in bolus glucose preview

0 commit comments

Comments
 (0)