From 84e41122fc5731707e011c1b7b70e96ffcec6fb8 Mon Sep 17 00:00:00 2001 From: Julius de Bruijn Date: Fri, 21 Sep 2018 11:09:41 +0200 Subject: [PATCH] Fix TBR maximum for Animas Vibe Animas actually supports 300% TBR, but uses a different way of displaying it: 0% is the same as 100% in AAPS. -100% (OFF) is 0% in AAPS 200% therefore is 300% in AAPS. Maybe there should be a better indicator for this in AAPS, but for now this fix gives better control of the TBR values, if using the open loop. --- .../nightscout/androidaps/plugins/PumpCommon/defs/PumpType.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 1c064d0cf0..ab97f2cff2 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 @@ -56,7 +56,7 @@ public enum PumpType { AnimasVibe("Animas Vibe", 0.05d, null, // AnimasBolus? new DoseSettings(0.05d, 30, 12*60, 0.05d), // PumpTempBasalType.Percent, // - new DoseSettings(10, 30, 24*60, 0d, 200d), PumpCapability.BasalRate_Duration30minAllowed, // + new DoseSettings(10, 30, 24*60, 0d, 300d), PumpCapability.BasalRate_Duration30minAllowed, // 0.025d, 5d, 0d, null, PumpCapability.VirtualPumpCapabilities), // AnimasPing("Animas Ping", AnimasVibe),