Merge branch 'dev' into avereha/dash
This commit is contained in:
commit
6a8d3e25ee
|
@ -439,7 +439,7 @@ class DanaRSPlugin @Inject constructor(
|
|||
result.enacted = false
|
||||
result.success = false
|
||||
result.comment = resourceHelper.gs(R.string.tempbasaldeliveryerror)
|
||||
aapsLogger.error("setTempBasalPercent: Failed to set temp basal")
|
||||
aapsLogger.error("setTempBasalPercent: Failed to set temp basal. connectionOK: $connectionOK isTempBasalInProgress: ${danaPump.isTempBasalInProgress} tempBasalPercent: ${danaPump.tempBasalPercent}")
|
||||
return result
|
||||
}
|
||||
|
||||
|
|
|
@ -376,6 +376,7 @@ class DanaRSService : DaggerService() {
|
|||
sendMessage(msgTBR)
|
||||
loadEvents()
|
||||
val tbr = pumpSync.expectedPumpState().temporaryBasal
|
||||
aapsLogger.debug(LTag.PUMPCOMM, "Expected TBR found: $tbr")
|
||||
danaPump.fromTemporaryBasal(tbr)
|
||||
rxBus.send(EventPumpStatusChanged(EventPumpStatusChanged.Status.DISCONNECTING))
|
||||
return msgTBR.success()
|
||||
|
|
Loading…
Reference in a new issue