simulator: flush output after waiting message output

Just to make sure the user sees the message.
This commit is contained in:
Beat Küng
2016-09-30 13:50:51 +02:00
committed by Julian Oes
parent f25947b964
commit ac189704ed
@@ -547,6 +547,7 @@ void Simulator::pollForMAVLinkMessages(bool publish, int udp_port)
// this is important for the UDP communication to work
int pret = -1;
PX4_INFO("Waiting for initial data on UDP port %i. Please start the flight simulator to proceed..", udp_port);
fflush(stdout);
uint64_t pstart_time = 0;