From bc217438e9cdad561c180258c5c9007cadf39af1 Mon Sep 17 00:00:00 2001 From: Milos Kozak Date: Wed, 13 May 2020 21:16:29 +0200 Subject: [PATCH] fix message call MDT --- .../pump/medtronic/comm/MedtronicCommunicationManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/pump/medtronic/comm/MedtronicCommunicationManager.java b/app/src/main/java/info/nightscout/androidaps/plugins/pump/medtronic/comm/MedtronicCommunicationManager.java index 83ed08ddd0..a8405ea00d 100644 --- a/app/src/main/java/info/nightscout/androidaps/plugins/pump/medtronic/comm/MedtronicCommunicationManager.java +++ b/app/src/main/java/info/nightscout/androidaps/plugins/pump/medtronic/comm/MedtronicCommunicationManager.java @@ -552,7 +552,7 @@ public class MedtronicCommunicationManager extends RileyLinkCommunicationManager // All pump communications go through this function. protected PumpMessage sendAndListen(RLMessage msg, int timeout_ms) throws RileyLinkCommunicationException { - return sendAndListen(msg, timeout_ms); + return (PumpMessage) super.sendAndListen(msg, timeout_ms); }