fix cob in wizard

This commit is contained in:
Milos Kozak 2017-04-24 17:46:20 +02:00
parent a20e49669a
commit 935a9366d9

View file

@ -83,7 +83,7 @@ public class BolusWizard {
// Insuling from carbs
ic = profile.getIc(specificProfile, NSProfile.secondsFromMidnight());
insulinFromCarbs = carbs / ic;
insulinFromCOB = -cob / ic;
insulinFromCOB = cob / ic;
// Insulin from IOB
// IOB calculation