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); }