Simplify call

This commit is contained in:
Milos Kozak 2023-02-27 15:33:10 +01:00
parent 1fa2cb9370
commit 773d8055b8

View file

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