mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
mixer_module: remove unused limit_callbacks_to_primary argument
This commit is contained in:
parent
2833832968
commit
a20c581111
@ -187,7 +187,7 @@ void PWMOut::Run()
|
||||
}
|
||||
|
||||
// check at end of cycle (updateSubscriptions() can potentially change to a different WorkQueue thread)
|
||||
_mixing_output.updateSubscriptions(true, true);
|
||||
_mixing_output.updateSubscriptions(true);
|
||||
|
||||
perf_end(_cycle_perf);
|
||||
}
|
||||
|
||||
@ -633,11 +633,11 @@ void PX4IO::Run()
|
||||
}
|
||||
}
|
||||
|
||||
_mixing_output.updateSubscriptions(true, true);
|
||||
|
||||
// minimal backup scheduling
|
||||
ScheduleDelayed(20_ms);
|
||||
|
||||
// check at end of cycle (updateSubscriptions() can potentially change to a different WorkQueue thread)
|
||||
_mixing_output.updateSubscriptions(true);
|
||||
perf_end(_cycle_perf);
|
||||
}
|
||||
|
||||
|
||||
@ -404,7 +404,7 @@ void TAP_ESC::Run()
|
||||
}
|
||||
|
||||
// check at end of cycle (updateSubscriptions() can potentially change to a different WorkQueue thread)
|
||||
_mixing_output.updateSubscriptions(true, true);
|
||||
_mixing_output.updateSubscriptions(true);
|
||||
|
||||
perf_end(_cycle_perf);
|
||||
}
|
||||
|
||||
@ -212,7 +212,7 @@ void MixingOutput::cleanupFunctions()
|
||||
}
|
||||
}
|
||||
|
||||
bool MixingOutput::updateSubscriptions(bool allow_wq_switch, bool limit_callbacks_to_primary)
|
||||
bool MixingOutput::updateSubscriptions(bool allow_wq_switch)
|
||||
{
|
||||
if (!_need_function_update || _armed.armed) {
|
||||
return false;
|
||||
|
||||
@ -151,10 +151,9 @@ public:
|
||||
* Check for subscription updates.
|
||||
* Call this at the very end of Run() if allow_wq_switch
|
||||
* @param allow_wq_switch if true
|
||||
* @param limit_callbacks_to_primary set to only register callbacks for primary actuator controls (if used)
|
||||
* @return true if subscriptions got changed
|
||||
*/
|
||||
bool updateSubscriptions(bool allow_wq_switch = false, bool limit_callbacks_to_primary = false);
|
||||
bool updateSubscriptions(bool allow_wq_switch = false);
|
||||
|
||||
/**
|
||||
* unregister uORB subscription callbacks
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user