mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-07 17:35:22 +08:00
fixed publication of mixer limit flags
This commit is contained in:
@@ -99,13 +99,13 @@ MixerGroup::reset()
|
||||
}
|
||||
|
||||
unsigned
|
||||
MixerGroup::mix(float *outputs, unsigned space)
|
||||
MixerGroup::mix(float *outputs, unsigned space, uint16_t *status_reg)
|
||||
{
|
||||
Mixer *mixer = _first;
|
||||
unsigned index = 0;
|
||||
|
||||
while ((mixer != nullptr) && (index < space)) {
|
||||
index += mixer->mix(outputs + index, space - index);
|
||||
index += mixer->mix(outputs + index, space - index, status_reg);
|
||||
mixer = mixer->_next;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user