Fixed actuator controls struct in Snapdragon legacy uart_esc driver wrapper (#4724)

This commit is contained in:
BharathR 2016-06-03 01:22:09 -07:00 committed by Lorenz Meier
parent fb1fd205bd
commit f06e6f0ce1
1 changed files with 1 additions and 1 deletions

View File

@ -338,7 +338,7 @@ void task_main(int argc, char *argv[])
if (_armed.armed) {
_outputs.noutputs = mixer->mix(&_outputs.output[0],
actuator_controls_0_s::NUM_ACTUATOR_CONTROLS,
actuator_controls_s::NUM_ACTUATOR_CONTROLS,
NULL);
// Make sure we support only up to UART_ESC_MAX_MOTORS motors