|
|
@ -287,6 +287,7 @@ public: |
|
|
|
if (!this->_uorb_sub->updated()) { |
|
|
|
if (!this->_uorb_sub->updated()) { |
|
|
|
/* Topic not updated, do not call callback */ |
|
|
|
/* Topic not updated, do not call callback */ |
|
|
|
return; |
|
|
|
return; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/* get latest data */ |
|
|
|
/* get latest data */ |
|
|
|
this->_uorb_sub->update(this->get_void_ptr()); |
|
|
|
this->_uorb_sub->update(this->get_void_ptr()); |
|
|
@ -299,7 +300,6 @@ public: |
|
|
|
|
|
|
|
|
|
|
|
/* Call callback which performs actions based on this data */ |
|
|
|
/* Call callback which performs actions based on this data */ |
|
|
|
_cbf(Subscriber<T>::get()); |
|
|
|
_cbf(Subscriber<T>::get()); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|