Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions LibreLoop/Pairing/LibreLoopCGMManager+Pairing.swift
Original file line number Diff line number Diff line change
Expand Up @@ -703,7 +703,8 @@ extension LibreLoopCGMManager {
// duplicate point at the same timestamp.
syncIdentifier: "libreloop-\(serial)-\(sample.lifeCount)",
syncVersion: 1,
device: device
device: device,
isBackfill: true
))
backfillForwardedLifeCounts.insert(sample.lifeCount)
}
Expand Down Expand Up @@ -806,7 +807,8 @@ extension LibreLoopCGMManager {
wasUserEntered: false,
syncIdentifier: "libreloop-\(serial)-\(lifeCount)",
syncVersion: 1,
device: device
device: device,
isBackfill: true
)
backfillForwardedLifeCounts.insert(lifeCount)
llog("forwarded clinical \(kind) sample to Loop: \(mgdl) mg/dL lifeCount=\(lifeCount) sampleDate=\(date.timeIntervalSince1970)")
Expand Down