mixer_module: remove unused limit_callbacks_to_primary argument

This commit is contained in:
Beat Küng
2022-11-22 13:41:16 -05:00
committed by Daniel Agar
parent 2833832968
commit a20c581111
5 changed files with 6 additions and 7 deletions
+1 -1
View File
@@ -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;
+1 -2
View File
@@ -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