Skip to content

Commit

Permalink
Fixed equil pump set temp Basal 'none' bug
Browse files Browse the repository at this point in the history
  • Loading branch information
EquilHack committed Jul 5, 2024
1 parent 08ffac7 commit 3e61020
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 3e61020

Please sign in to comment.