mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-17 01:43:34 +08:00
Fixed bad update of poll to px4_poll change
I updated poll to px4_poll but forgot to change struct pollfd to px4_pollfd_struct_t. Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
@@ -56,6 +56,7 @@
|
||||
#include <px4_config.h>
|
||||
#include <px4_defines.h>
|
||||
#include <px4_tasks.h>
|
||||
#include <px4_posix.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
@@ -759,7 +760,7 @@ MulticopterAttitudeControl::task_main()
|
||||
parameters_update();
|
||||
|
||||
/* wakeup source: vehicle attitude */
|
||||
struct pollfd fds[1];
|
||||
px4_pollfd_struct_t fds[1];
|
||||
|
||||
fds[0].fd = _v_att_sub;
|
||||
fds[0].events = POLLIN;
|
||||
|
||||
Reference in New Issue
Block a user