Merge branch 'omnipod_eros_dev' into omnipod_eros_dev_properly_decode_pod_info_02

This commit is contained in:
Bart Sopers 2020-10-17 12:53:05 +02:00
commit fb1ed7588a

View file

@ -482,7 +482,10 @@ public class AapsOmnipodManager {
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() {