always enforceNew

This commit is contained in:
Andrei Vereha 2021-06-05 20:37:17 +02:00
parent d0c947c988
commit c72f2f352f

View file

@ -326,7 +326,7 @@ class OmnipodDashPumpPlugin @Inject constructor(
.filter { podEvent -> podEvent is PodEvent.CommandSent }
.map { pumpSyncTempBasal(it, absoluteRate, durationInMinutes.toLong(), tbrType) }
.ignoreElements(),
pre = observeNoActiveTempBasal(enforceNew),
pre = observeNoActiveTempBasal(true),
tempBasal = OmnipodDashPodStateManager.TempBasal(
startTime = System.currentTimeMillis(),
rate = absoluteRate,