Fixed call to poll to be px4_poll

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
Mark Charlebois 2015-04-30 09:02:04 -07:00
parent 93a3eeb569
commit b7120f1b9f
1 changed files with 1 additions and 1 deletions

View File

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