SITL: MATLAB: fix conector auto reconect

This commit is contained in:
Iampete1 2020-06-09 17:56:00 +01:00 committed by Andrew Tridgell
parent 10000ed8ee
commit 2f99326db8
1 changed files with 0 additions and 1 deletions

View File

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