fix MsgSetExtendedBolusStart.java

This commit is contained in:
Milos Kozak 2018-09-14 14:10:24 +02:00
parent bcda4c93bf
commit 241d3f0c7c

View file

@ -26,7 +26,8 @@ public class MsgSetExtendedBolusStart extends MessageBase {
if (constrainedAmount != null) {
AddParamInt((int) (constrainedAmount.value() * 100));
} else {
log.debug("constrainedAmount of insulin is null!!");
log.error("constrainedAmount of insulin is null!!");
AddParamInt(0);
}
AddParamByte(halfhours);
if (L.isEnabled(L.PUMPCOMM))