mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-06 13:38:53 +08:00
simulator: flush output after waiting message output
Just to make sure the user sees the message.
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user