Browse Source

VTOL: initialize fds struct

sbg
Lorenz Meier 9 years ago
parent
commit
2ce3ef1caa
  1. 2
      src/modules/vtol_att_control/vtol_att_control_main.cpp

2
src/modules/vtol_att_control/vtol_att_control_main.cpp

@ -559,7 +559,7 @@ void VtolAttitudeControl::task_main() @@ -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…
Cancel
Save