Browse Source

fix bracket position

sbg
Thomas Gubler 10 years ago
parent
commit
b04fcad525
  1. 2
      src/platforms/px4_subscriber.h

2
src/platforms/px4_subscriber.h

@ -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());
}
}; };

Loading…
Cancel
Save