fix cob in wizard
This commit is contained in:
parent
a20e49669a
commit
935a9366d9
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ public class BolusWizard {
|
||||||
// Insuling from carbs
|
// Insuling from carbs
|
||||||
ic = profile.getIc(specificProfile, NSProfile.secondsFromMidnight());
|
ic = profile.getIc(specificProfile, NSProfile.secondsFromMidnight());
|
||||||
insulinFromCarbs = carbs / ic;
|
insulinFromCarbs = carbs / ic;
|
||||||
insulinFromCOB = -cob / ic;
|
insulinFromCOB = cob / ic;
|
||||||
|
|
||||||
// Insulin from IOB
|
// Insulin from IOB
|
||||||
// IOB calculation
|
// IOB calculation
|
||||||
|
|
Loading…
Reference in a new issue