mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-06-30 08:10:35 +08:00
VTOL: initialize fds struct
This commit is contained in:
@@ -559,7 +559,7 @@ void VtolAttitudeControl::task_main()
|
||||
_vtol_type->set_idle_mc();
|
||||
|
||||
/* 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].events = POLLIN;
|
||||
|
||||
Reference in New Issue
Block a user