diff --git a/medtronic/src/main/java/info/nightscout/androidaps/plugins/pump/medtronic/data/MedtronicHistoryData.kt b/medtronic/src/main/java/info/nightscout/androidaps/plugins/pump/medtronic/data/MedtronicHistoryData.kt index a1b672e506..2f9b264971 100644 --- a/medtronic/src/main/java/info/nightscout/androidaps/plugins/pump/medtronic/data/MedtronicHistoryData.kt +++ b/medtronic/src/main/java/info/nightscout/androidaps/plugins/pump/medtronic/data/MedtronicHistoryData.kt @@ -397,7 +397,7 @@ class MedtronicHistoryData @Inject constructor( continue } if (primeRecord.atechDateTime > maxAllowedTimeInPast) { - if (lastPrimeRecordTime != 0L && lastPrimeRecordTime < primeRecord.atechDateTime) { + if (lastPrimeRecordTime < primeRecord.atechDateTime) { lastPrimeRecordTime = primeRecord.atechDateTime lastPrimeRecord = primeRecord }