simulator: raise timeout

This is not suposed to ever trigger anyway.
This commit is contained in:
Julian Oes 2018-12-05 18:28:51 +01:00
parent 8b2c47523f
commit 1b685de70d
1 changed files with 1 additions and 1 deletions

View File

@ -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.