mirror of https://github.com/ArduPilot/ardupilot
SITL: MATLAB: fix conector auto reconect
This commit is contained in:
parent
10000ed8ee
commit
2f99326db8
|
@ -88,7 +88,6 @@ while true
|
|||
|
||||
if ~connected
|
||||
% use port -1 to indicate connection to address of last recv pkt
|
||||
pnet(u,'udpconnect',"",-1);
|
||||
connected = true;
|
||||
[ip, port] = pnet(u,'gethost');
|
||||
fprintf('Connected to %i.%i.%i.%i:%i\n',ip,port)
|
||||
|
|
Loading…
Reference in New Issue