SITL: added debug showing UDP ports for XPlane

This commit is contained in:
Andrew Tridgell 2016-06-19 21:18:19 +10:00
parent ec5534bd6a
commit 2f88c24f49
1 changed files with 2 additions and 0 deletions

View File

@ -42,6 +42,8 @@ XPlane::XPlane(const char *home_str, const char *frame_str) :
xplane_ip = colon+1;
}
socket_in.bind("0.0.0.0", bind_port);
printf("Waiting for XPlane data on UDP port %u and sending to port %u\n",
(unsigned)bind_port, (unsigned)xplane_port);
}
/*