fix MsgSetExtendedBolusStart.java
This commit is contained in:
parent
bcda4c93bf
commit
241d3f0c7c
1 changed files with 2 additions and 1 deletions
|
@ -26,7 +26,8 @@ public class MsgSetExtendedBolusStart extends MessageBase {
|
||||||
if (constrainedAmount != null) {
|
if (constrainedAmount != null) {
|
||||||
AddParamInt((int) (constrainedAmount.value() * 100));
|
AddParamInt((int) (constrainedAmount.value() * 100));
|
||||||
} else {
|
} else {
|
||||||
log.debug("constrainedAmount of insulin is null!!");
|
log.error("constrainedAmount of insulin is null!!");
|
||||||
|
AddParamInt(0);
|
||||||
}
|
}
|
||||||
AddParamByte(halfhours);
|
AddParamByte(halfhours);
|
||||||
if (L.isEnabled(L.PUMPCOMM))
|
if (L.isEnabled(L.PUMPCOMM))
|
||||||
|
|
Loading…
Reference in a new issue