DanaR hardcoded bolus limit 10 -> 17
This commit is contained in:
parent
a829a506f2
commit
7a3f7098b0
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ public class MsgBolusStart extends MessageBase {
|
||||||
// HARDCODED LIMIT
|
// HARDCODED LIMIT
|
||||||
amount = MainApp.getConfigBuilder().applyBolusConstraints(amount);
|
amount = MainApp.getConfigBuilder().applyBolusConstraints(amount);
|
||||||
if (amount < 0) amount = 0d;
|
if (amount < 0) amount = 0d;
|
||||||
if (amount > 10) amount = 10d;
|
if (amount > 17) amount = 17d;
|
||||||
|
|
||||||
AddParamInt((int) (amount * 100));
|
AddParamInt((int) (amount * 100));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue