forked from Archive/PX4-Autopilot
simulator: raise timeout
This is not suposed to ever trigger anyway.
This commit is contained in:
parent
8b2c47523f
commit
1b685de70d
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue