mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-16 07:33:35 +08:00
Fixed call to poll to be px4_poll
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user