mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-25 16:56:25 +08:00
simulator: raise timeout
This is not suposed to ever trigger anyway.
This commit is contained in:
@@ -775,7 +775,7 @@ void Simulator::pollForMAVLinkMessages(bool publish, InternetProtocol ip, int po
|
||||
while (true) {
|
||||
|
||||
// wait for new mavlink messages to arrive
|
||||
int pret = ::poll(&fds[0], fd_count, 4);
|
||||
int pret = ::poll(&fds[0], fd_count, 1000);
|
||||
|
||||
if (pret == 0) {
|
||||
// Timed out.
|
||||
|
||||
Reference in New Issue
Block a user