forked from Archive/PX4-Autopilot
Fixed call to poll to be px4_poll
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
parent
93a3eeb569
commit
b7120f1b9f
|
@ -767,7 +767,7 @@ MulticopterAttitudeControl::task_main()
|
|||
while (!_task_should_exit) {
|
||||
|
||||
/* wait for up to 100ms for data */
|
||||
int pret = poll(&fds[0], (sizeof(fds) / sizeof(fds[0])), 100);
|
||||
int pret = px4_poll(&fds[0], (sizeof(fds) / sizeof(fds[0])), 100);
|
||||
|
||||
/* timed out - periodic check for _task_should_exit */
|
||||
if (pret == 0)
|
||||
|
|
Loading…
Reference in New Issue