diff --git a/MATLAB/+XPlaneConnect/setConn.m b/MATLAB/+XPlaneConnect/setConn.m index ad757a4..39c2fbf 100644 --- a/MATLAB/+XPlaneConnect/setConn.m +++ b/MATLAB/+XPlaneConnect/setConn.m @@ -46,5 +46,6 @@ function status = setConn( recvPort, IP, port ) global udpReadPort; udpReadPort = recvPort; + readUDP(); % Read and discard CONF message end \ No newline at end of file