From da0eef1a4269fb237673dca4ed6da60568796d4c Mon Sep 17 00:00:00 2001 From: t_j_s Date: Sat, 12 Feb 2022 19:55:18 +0000 Subject: [PATCH] Fixed a typo in TDDAIMI7 --- .../plugins/aps/openAPSSMB/DetermineBasalAdapterSMBJS.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/aps/openAPSSMB/DetermineBasalAdapterSMBJS.kt b/app/src/main/java/info/nightscout/androidaps/plugins/aps/openAPSSMB/DetermineBasalAdapterSMBJS.kt index a93ecb5db8..7dfbc0bf1e 100644 --- a/app/src/main/java/info/nightscout/androidaps/plugins/aps/openAPSSMB/DetermineBasalAdapterSMBJS.kt +++ b/app/src/main/java/info/nightscout/androidaps/plugins/aps/openAPSSMB/DetermineBasalAdapterSMBJS.kt @@ -268,7 +268,7 @@ class DetermineBasalAdapterSMBJS internal constructor(private val scriptReader: this.mealData.put("lastCarbTime", mealData.lastCarbTime) tddAIMI = TddCalculator(aapsLogger,rh,activePlugin,profileFunction,dateUtil,iobCobCalculator, repository) - this.mealData.put("TDD_AIMI7", tddAIMI!!.averageTDD(tddAIMI!!.calculate(7)).totalAmount) + this.mealData.put("TDDAIMI7", tddAIMI!!.averageTDD(tddAIMI!!.calculate(7)).totalAmount) this.mealData.put("TDDPUMP", tddAIMI!!.calculateDaily().totalAmount) if (constraintChecker.isAutosensModeEnabled().value()) {