RS: read status more frequently
This commit is contained in:
parent
df700da045
commit
dbbd378671
|
@ -240,6 +240,8 @@ class DanaRSService : DaggerService() {
|
|||
}
|
||||
danaPump.lastHistoryFetched = if (danaPump.lastEventTimeLoaded != 0L) danaPump.lastEventTimeLoaded - T.mins(1).msecs() else 0
|
||||
aapsLogger.debug(LTag.PUMPCOMM, "Events loaded")
|
||||
rxBus.send(EventPumpStatusChanged(resourceHelper.gs(R.string.gettingpumpstatus)))
|
||||
sendMessage(DanaRSPacketGeneralInitialScreenInformation(injector))
|
||||
danaPump.lastConnection = System.currentTimeMillis()
|
||||
return PumpEnactResult(injector).success(msg.success())
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue