uORB: SubscriptionCallback cleanup naming

This commit is contained in:
Daniel Agar
2019-06-29 13:27:05 -04:00
parent 3f9b3fb4da
commit fd67bd0680
9 changed files with 29 additions and 28 deletions
+2 -2
View File
@@ -139,7 +139,7 @@ bool MixingOutput::updateSubscriptions(bool allow_wq_switch)
if (_groups_required & (1 << i)) {
PX4_DEBUG("subscribe to actuator_controls_%d", i);
if (!_control_subs[i].register_callback()) {
if (!_control_subs[i].registerCallback()) {
PX4_ERR("actuator_controls_%d register callback failed!", i);
}
}
@@ -205,7 +205,7 @@ void MixingOutput::setAllDisarmedValues(uint16_t value)
void MixingOutput::unregister()
{
for (auto &control_sub : _control_subs) {
control_sub.unregister_callback();
control_sub.unregisterCallback();
}
}