Skip to content

Commit

Permalink
Merge pull request #3376 from EquilHack/dev
Browse files Browse the repository at this point in the history
Fixed equil pump set temp Basal 'none' bug
  • Loading branch information
MilosKozak committed Jul 17, 2024
2 parents 08ffac7 + 3e61020 commit 46cc81d
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package app.aaps.pump.equil
import android.content.Context
import android.os.Handler
import android.os.HandlerThread
import android.os.SystemClock
import android.text.format.DateFormat
import app.aaps.core.data.plugin.PluginType
import app.aaps.core.data.pump.defs.ManufacturerType
Expand Down Expand Up @@ -243,6 +244,7 @@ import javax.inject.Singleton
pumpEnactResult = cancelTempBasal(true)
}
if (pumpEnactResult.success) {
SystemClock.sleep(EquilConst.EQUIL_BLE_NEXT_CMD)
pumpEnactResult = equilManager.setTempBasal(
absoluteRate, durationInMinutes, false
)
Expand Down

0 comments on commit 46cc81d

Please sign in to comment.