From 773d8055b879f6d298919884bde181ef3a8c7fda Mon Sep 17 00:00:00 2001 From: Milos Kozak Date: Mon, 27 Feb 2023 15:33:10 +0100 Subject: [PATCH] Simplify call --- .../main/java/info/nightscout/pump/danars/services/BLEComm.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pump/danars/src/main/java/info/nightscout/pump/danars/services/BLEComm.kt b/pump/danars/src/main/java/info/nightscout/pump/danars/services/BLEComm.kt index 2edba20d24..60af389f3f 100644 --- a/pump/danars/src/main/java/info/nightscout/pump/danars/services/BLEComm.kt +++ b/pump/danars/src/main/java/info/nightscout/pump/danars/services/BLEComm.kt @@ -838,7 +838,7 @@ class BLEComm @Inject internal constructor( if (!message.isReceived) { aapsLogger.warn(LTag.PUMPBTCOMM, "Reply not received " + message.friendlyName) message.handleMessageNotReceived() - danaRSPlugin.disconnect("Reply not received") + disconnect("Reply not received") } // verify encryption for v3 & BLE if (message is DanaRSPacketEtcKeepConnection)