Merge pull request #350 from paulplant/develop

housekeeping - G5 transmitter check correction
This commit is contained in:
Johan Degraeve 2022-05-08 20:37:05 +02:00 committed by GitHub
commit d2a292ee35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 6 deletions

View File

@ -33,4 +33,4 @@ SPEC CHECKSUMS:
PODFILE CHECKSUM: 9e7c827934c9a391ed069c554e2082e1775255df
COCOAPODS: 1.11.2
COCOAPODS: 1.11.3

View File

@ -879,12 +879,10 @@ class CGMG5Transmitter:BluetoothTransmitter, CGMTransmitter {
dexcomSessionStopTxMessageToSendToTransmitter = DexcomSessionStopTxMessage(stopDate: stopDate, transmitterStartDate: transmitterStartDate)
// if there's still a pending calibration message, set it to nil
if let calibrationToSendToTransmitter = calibrationToSendToTransmitter {
// set it to nil
calibrationToSendToTransmitter = nil
trace("in stopsensor, setting calibrationToSendToTransmitter to nil", log: log, category: ConstantsLog.categoryCGMG5, type: .info)
}
trace("in stopsensor, setting calibrationToSendToTransmitter to nil", log: log, category: ConstantsLog.categoryCGMG5, type: .info)
}