From 6dba4e4956cd6aa4958e4d77167fc66559bdca7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandra=20Ke=C3=9Fler?= Date: Mon, 24 Jul 2017 18:39:43 +0200 Subject: [PATCH] fix >500% basal setting --- .../nightscout/androidaps/plugins/PumpCombo/ComboPlugin.java | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/PumpCombo/ComboPlugin.java b/app/src/main/java/info/nightscout/androidaps/plugins/PumpCombo/ComboPlugin.java index 02dfd805ee..046e94dea8 100644 --- a/app/src/main/java/info/nightscout/androidaps/plugins/PumpCombo/ComboPlugin.java +++ b/app/src/main/java/info/nightscout/androidaps/plugins/PumpCombo/ComboPlugin.java @@ -502,6 +502,7 @@ public class ComboPlugin implements PluginBase, PumpInterface { } CommandResult commandResult = runCommand(new SetTbrCommand(adjustedPercent, durationInMinutes)); + if (commandResult.enacted) { TemporaryBasal tempStart = new TemporaryBasal(commandResult.completionTime); // TODO commandResult.state.tbrRemainingDuration might already display 29 if 30 was set, since 29:59 is shown as 29 ...