fmu: Also take into account actuator group 1

This commit is contained in:
Juchli D
2013-11-05 13:24:41 +01:00
parent 791695ccd0
commit 23237df84e
+2 -1
View File
@@ -542,7 +542,8 @@ PX4FMU::task_main()
if (fds[0].revents & POLLIN) {
/* get controls - must always do this to avoid spinning */
orb_copy(ORB_ID_VEHICLE_ATTITUDE_CONTROLS, _t_actuators, &_controls);
orb_copy(_primary_pwm_device ? ORB_ID_VEHICLE_ATTITUDE_CONTROLS :
ORB_ID(actuator_controls_1), _t_actuators, &_controls);
/* can we mix? */
if (_mixers != nullptr) {