MDT: fix TBR duration
This commit is contained in:
parent
286cf83215
commit
8486277622
1 changed files with 1 additions and 1 deletions
|
@ -768,7 +768,7 @@ class MedtronicPumpPlugin @Inject constructor(
|
|||
medtronicPumpStatus.tempBasalAmount = absoluteRate
|
||||
medtronicPumpStatus.tempBasalLength = durationInMinutes
|
||||
|
||||
val tempData = PumpDbEntryTBR(absoluteRate, true, durationInMinutes, tbrType)
|
||||
val tempData = PumpDbEntryTBR(absoluteRate, true, durationInMinutes * 60, tbrType)
|
||||
|
||||
medtronicPumpStatus.runningTBRWithTemp = tempData
|
||||
pumpSyncStorage.addTemporaryBasalRateWithTempId(tempData, true, this)
|
||||
|
|
Loading…
Reference in a new issue