mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-12-01 21:52:12 +08:00
simulator: raise timeout
This is not suposed to ever trigger anyway.
This commit is contained in:
1 parent
8b2c47523f
commit
1b685de70d
1 file changed
+1
-1
@@ -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