From 69a610b0e5c252875c176829d08e6d1525dac846 Mon Sep 17 00:00:00 2001 From: Milos Kozak Date: Wed, 16 Feb 2022 13:01:49 +0100 Subject: [PATCH] remove lastBolusNormalTime --- .../aps/openAPSSMBAutoISF/DetermineBasalAdapterSMBAutoISFJS.kt | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/aps/openAPSSMBAutoISF/DetermineBasalAdapterSMBAutoISFJS.kt b/app/src/main/java/info/nightscout/androidaps/plugins/aps/openAPSSMBAutoISF/DetermineBasalAdapterSMBAutoISFJS.kt index 903ea04909..4d4a8d16d1 100644 --- a/app/src/main/java/info/nightscout/androidaps/plugins/aps/openAPSSMBAutoISF/DetermineBasalAdapterSMBAutoISFJS.kt +++ b/app/src/main/java/info/nightscout/androidaps/plugins/aps/openAPSSMBAutoISF/DetermineBasalAdapterSMBAutoISFJS.kt @@ -60,7 +60,6 @@ class DetermineBasalAdapterSMBAutoISFJS internal constructor(private val scriptR private var smbAlwaysAllowed = false private var currentTime: Long = 0 private var saveCgmSource = false - private var lastBolusNormalTime: Long = 0 override var currentTempParam: String? = null override var iobDataParam: String? = null @@ -257,7 +256,6 @@ class DetermineBasalAdapterSMBAutoISFJS internal constructor(private val scriptR this.mealData.put("slopeFromMaxDeviation", mealData.slopeFromMaxDeviation) this.mealData.put("slopeFromMinDeviation", mealData.slopeFromMinDeviation) this.mealData.put("lastBolusTime", mealData.lastBolusTime) - this.mealData.put("lastBolusNormalTime", lastBolusNormalTime) this.mealData.put("lastCarbTime", mealData.lastCarbTime) this.mealData.put("TDDAIMI7", tddCalculator.averageTDD(tddCalculator.calculate(7)).totalAmount)