Fixed a typo in TDDAIMI7
This commit is contained in:
parent
7c3480b6d0
commit
da0eef1a42
1 changed files with 1 additions and 1 deletions
|
@ -268,7 +268,7 @@ class DetermineBasalAdapterSMBJS internal constructor(private val scriptReader:
|
||||||
this.mealData.put("lastCarbTime", mealData.lastCarbTime)
|
this.mealData.put("lastCarbTime", mealData.lastCarbTime)
|
||||||
|
|
||||||
tddAIMI = TddCalculator(aapsLogger,rh,activePlugin,profileFunction,dateUtil,iobCobCalculator, repository)
|
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)
|
this.mealData.put("TDDPUMP", tddAIMI!!.calculateDaily().totalAmount)
|
||||||
|
|
||||||
if (constraintChecker.isAutosensModeEnabled().value()) {
|
if (constraintChecker.isAutosensModeEnabled().value()) {
|
||||||
|
|
Loading…
Reference in a new issue