broadcast danar timeout too
This commit is contained in:
parent
788289c757
commit
5e6b77ec02
1 changed files with 1 additions and 0 deletions
|
@ -188,6 +188,7 @@ public class ExecutionService extends Service {
|
||||||
MainApp.bus().post(new EventDanaRConnectionStatus(EventDanaRConnectionStatus.CONNECTED, 0));
|
MainApp.bus().post(new EventDanaRConnectionStatus(EventDanaRConnectionStatus.CONNECTED, 0));
|
||||||
getPumpStatus();
|
getPumpStatus();
|
||||||
} else {
|
} else {
|
||||||
|
MainApp.bus().post(new EventDanaRConnectionStatus(EventDanaRConnectionStatus.DISCONNECTED, 0));
|
||||||
log.error("Pump connection timed out");
|
log.error("Pump connection timed out");
|
||||||
}
|
}
|
||||||
mWakeLock.release();
|
mWakeLock.release();
|
||||||
|
|
Loading…
Reference in a new issue