Skip to content

Commit 0fa6152

Browse files
committed
remote-temp (one file fix) and carthage update
1 parent 31f8ac6 commit 0fa6152

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Cartfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
github "kdisimone/LoopKit" "delta"
1+
github "kdisimone/LoopKit" "delta-remote"
22
github "LoopKit/CGMBLEKit" "dev"
33
github "i-schuetz/SwiftCharts" == 0.6.1
44
github "mddub/dexcom-share-client-swift" == 0.4.1

Cartfile.resolved

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
github "LoopKit/Amplitude-iOS" "2137d5fd44bf630ed33e1e72d7af6d8f8612f270"
22
github "LoopKit/CGMBLEKit" "1f9d0f221b886f12bcb2c46dc0b551589b623210"
33
github "i-schuetz/SwiftCharts" "0.6.1"
4-
github "kdisimone/LoopKit" "ed086974e6db2209acb812f11017b8ffce18c66d"
4+
github "kdisimone/LoopKit" "224e84f544784ddbe3cc504cec3a73cb9681a9bf"
55
github "mddub/G4ShareSpy" "v0.3.3"
66
github "mddub/dexcom-share-client-swift" "v0.4.1"
77
github "ps2/rileylink_ios" "v2.0.2"

Loop/Managers/DeviceDataManager.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -819,7 +819,7 @@ final class DeviceDataManager {
819819
// set the remote temp if it's valid and not already set. Handle the nil issue as well
820820
let endlastTemp = cdates.max()! + TimeInterval(.minutes(Double(last.duration)))
821821
if Date() < endlastTemp {
822-
let NStargetUnit = HKUnit.milligramsPerDeciliter()
822+
let NStargetUnit = HKUnit.milligramsPerDeciliter
823823
let userUnit = self.loopManager.settings.glucoseTargetRangeSchedule?.unit
824824
//convert NS temp targets to an HKQuanity with units and set limits (low of 70 mg/dL, high of 300 mg/dL)
825825
//ns temps are always given in mg/dL

0 commit comments

Comments
 (0)