fix message call MDT

This commit is contained in:
Milos Kozak 2020-05-13 21:16:29 +02:00
parent c03a89db16
commit bc217438e9

View file

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