Merge branch 'omnipod_eros_dev' into omnipod_eros_dev_properly_decode_pod_info_02
This commit is contained in:
commit
fb1ed7588a
1 changed files with 4 additions and 1 deletions
|
@ -482,7 +482,10 @@ public class AapsOmnipodManager {
|
||||||
|
|
||||||
addTempBasalTreatment(System.currentTimeMillis(), pumpId, tempBasalPair);
|
addTempBasalTreatment(System.currentTimeMillis(), pumpId, tempBasalPair);
|
||||||
|
|
||||||
return new PumpEnactResult(injector).success(true).enacted(true);
|
return new PumpEnactResult(injector)
|
||||||
|
.duration(tempBasalPair.getDurationMinutes())
|
||||||
|
.absolute(PumpType.Insulet_Omnipod.determineCorrectBasalSize(tempBasalPair.getInsulinRate()))
|
||||||
|
.success(true).enacted(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
public PumpEnactResult cancelTemporaryBasal() {
|
public PumpEnactResult cancelTemporaryBasal() {
|
||||||
|
|
Loading…
Reference in a new issue