From 5e6b77ec025f48e42492c7ff864987e1ba752126 Mon Sep 17 00:00:00 2001 From: Milos Kozak Date: Wed, 20 Jul 2016 12:09:03 +0200 Subject: [PATCH] broadcast danar timeout too --- .../androidaps/plugins/DanaR/Services/ExecutionService.java | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/DanaR/Services/ExecutionService.java b/app/src/main/java/info/nightscout/androidaps/plugins/DanaR/Services/ExecutionService.java index 5c1123dfd0..e3b5532acb 100644 --- a/app/src/main/java/info/nightscout/androidaps/plugins/DanaR/Services/ExecutionService.java +++ b/app/src/main/java/info/nightscout/androidaps/plugins/DanaR/Services/ExecutionService.java @@ -188,6 +188,7 @@ public class ExecutionService extends Service { MainApp.bus().post(new EventDanaRConnectionStatus(EventDanaRConnectionStatus.CONNECTED, 0)); getPumpStatus(); } else { + MainApp.bus().post(new EventDanaRConnectionStatus(EventDanaRConnectionStatus.DISCONNECTED, 0)); log.error("Pump connection timed out"); } mWakeLock.release();