mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-26 07:23:34 +08:00
VTOL: initialize fds struct
This commit is contained in:
@@ -559,7 +559,7 @@ void VtolAttitudeControl::task_main()
|
|||||||
_vtol_type->set_idle_mc();
|
_vtol_type->set_idle_mc();
|
||||||
|
|
||||||
/* wakeup source*/
|
/* wakeup source*/
|
||||||
px4_pollfd_struct_t fds[3]; /*input_mc, input_fw, parameters*/
|
px4_pollfd_struct_t fds[3] = {}; /*input_mc, input_fw, parameters*/
|
||||||
|
|
||||||
fds[0].fd = _actuator_inputs_mc;
|
fds[0].fd = _actuator_inputs_mc;
|
||||||
fds[0].events = POLLIN;
|
fds[0].events = POLLIN;
|
||||||
|
|||||||
Reference in New Issue
Block a user