From cba5b640cb87afeadddbec263b64530ea390281a Mon Sep 17 00:00:00 2001 From: Milos Kozak Date: Sat, 7 Sep 2019 19:51:40 +0200 Subject: [PATCH] safer default TT value in automation --- .../plugins/general/automation/elements/InputTempTarget.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/general/automation/elements/InputTempTarget.java b/app/src/main/java/info/nightscout/androidaps/plugins/general/automation/elements/InputTempTarget.java index 4906e79add..7e9207c0e1 100644 --- a/app/src/main/java/info/nightscout/androidaps/plugins/general/automation/elements/InputTempTarget.java +++ b/app/src/main/java/info/nightscout/androidaps/plugins/general/automation/elements/InputTempTarget.java @@ -39,9 +39,9 @@ public class InputTempTarget extends Element { super(); setUnits(ProfileFunctions.getInstance().getProfileUnits()); if (getUnits().equals(Constants.MMOL)) - value = Constants.MIN_TT_MMOL; + value = 6; else - value = Constants.MIN_TT_MGDL; + value = 110; } public InputTempTarget(InputTempTarget another) {