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 7ea4b694d2..8a866c9516 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 @@ -769,7 +769,7 @@ class MedtronicHistoryData @Inject constructor( pheEnd.atechDateTime = DateTimeUtil.getATDWithAddedSeconds(tempBasalProcessDTO.itemOne.atechDateTime, -2) pheEnd.addDecodedData("Object", TempBasalPair(0.0, false, 0)) - var initialDuration = previousItem.durationAsSeconds + val initialDuration = previousItem.durationAsSeconds previousItem.itemTwo = pheEnd