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