Merge pull request #566 from miyeongkim/diaconn
Extended bolus error fixed
This commit is contained in:
commit
6f1ca8e4b3
|
@ -203,7 +203,6 @@ class BigAPSMainInfoInquireResponsePacket(
|
||||||
}
|
}
|
||||||
|
|
||||||
// extended bolus status
|
// extended bolus status
|
||||||
diaconnG8Pump.isExtendedInProgress = diaconnG8Pump.squareStatus == 1 || diaconnG8Pump.dualStatus == 1
|
|
||||||
if(diaconnG8Pump.squareStatus == 1) { //square
|
if(diaconnG8Pump.squareStatus == 1) { //square
|
||||||
diaconnG8Pump.extendedBolusMinutes = diaconnG8Pump.squareTime
|
diaconnG8Pump.extendedBolusMinutes = diaconnG8Pump.squareTime
|
||||||
diaconnG8Pump.extendedBolusAbsoluteRate = diaconnG8Pump.squareAmount
|
diaconnG8Pump.extendedBolusAbsoluteRate = diaconnG8Pump.squareAmount
|
||||||
|
|
|
@ -200,7 +200,6 @@ class BigMainInfoInquireResponsePacket(
|
||||||
}
|
}
|
||||||
|
|
||||||
// extended bolus status
|
// extended bolus status
|
||||||
diaconnG8Pump.isExtendedInProgress = diaconnG8Pump.squareStatus == 1 || diaconnG8Pump.dualStatus == 1
|
|
||||||
if(diaconnG8Pump.squareStatus == 1) { //square
|
if(diaconnG8Pump.squareStatus == 1) { //square
|
||||||
diaconnG8Pump.extendedBolusMinutes = diaconnG8Pump.squareTime
|
diaconnG8Pump.extendedBolusMinutes = diaconnG8Pump.squareTime
|
||||||
diaconnG8Pump.extendedBolusAbsoluteRate = diaconnG8Pump.squareAmount
|
diaconnG8Pump.extendedBolusAbsoluteRate = diaconnG8Pump.squareAmount
|
||||||
|
|
Loading…
Reference in a new issue