mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
VTOL: initialize fds struct
This commit is contained in:
parent
e9865071fa
commit
2ce3ef1caa
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user