more debug to RS set TBR

This commit is contained in:
Milos Kozak 2021-09-28 22:12:17 +02:00
parent 8a1333813f
commit 0bb7838657

View file

@ -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()