From 167ed27659f68ea555fa7e31fc4f9b8b78e9e9df Mon Sep 17 00:00:00 2001 From: dmelliott20 Date: Mon, 17 Sep 2018 12:26:00 +0000 Subject: [PATCH] Update PumpType.java Ammended the basebasalstep values fro the insight and the combo. this was preventing AAPS from implementing zero basals where the basalstep was higher than the current running basal rate e.g. basal of 0.06u\hr running and a basalstep 0f 0.1u\hr resulted in no zero temp being enacted because of logic in the loop plugin. --- .../androidaps/plugins/PumpCommon/defs/PumpType.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/PumpCommon/defs/PumpType.java b/app/src/main/java/info/nightscout/androidaps/plugins/PumpCommon/defs/PumpType.java index 1ab285fb27..1c064d0cf0 100644 --- a/app/src/main/java/info/nightscout/androidaps/plugins/PumpCommon/defs/PumpType.java +++ b/app/src/main/java/info/nightscout/androidaps/plugins/PumpCommon/defs/PumpType.java @@ -38,7 +38,7 @@ public enum PumpType { new DoseSettings(0.1d, 15, 12*60, 0.1d), // PumpTempBasalType.Percent, new DoseSettings(10, 15, 12*60,0d, 500d), PumpCapability.BasalRate_Duration15and30minAllowed, // - 0.01d, 0.1d, DoseStepSize.ComboBasal, PumpCapability.ComboCapabilities), // + 0.01d, 0.01d, DoseStepSize.ComboBasal, PumpCapability.ComboCapabilities), // AccuChekSpirit("Accu-Chek Spirit", 0.1d, null, // new DoseSettings(0.1d, 15, 12*60, 0.1d), // @@ -50,7 +50,7 @@ public enum PumpType { new DoseSettings(0.05d, 15, 24*60, 0.05d), // PumpTempBasalType.Percent, new DoseSettings(10, 15, 12*60,0d, 250d), PumpCapability.BasalRate_Duration15and30minAllowed, // - 0.02d, 0.1d, null, PumpCapability.InsightCapabilities), // + 0.02d, 0.01d, null, PumpCapability.InsightCapabilities), // // Animas AnimasVibe("Animas Vibe", 0.05d, null, // AnimasBolus?