From b04fcad525c8f76419d468f43a4b159bc5200fbe Mon Sep 17 00:00:00 2001 From: Thomas Gubler Date: Wed, 21 Jan 2015 17:41:56 +0100 Subject: fix bracket position --- src/platforms/px4_subscriber.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platforms/px4_subscriber.h b/src/platforms/px4_subscriber.h index 88cc86ab8..8e8b786b1 100644 --- a/src/platforms/px4_subscriber.h +++ b/src/platforms/px4_subscriber.h @@ -287,6 +287,7 @@ public: if (!this->_uorb_sub->updated()) { /* Topic not updated, do not call callback */ return; + } /* get latest data */ this->_uorb_sub->update(this->get_void_ptr()); @@ -299,7 +300,6 @@ public: /* Call callback which performs actions based on this data */ _cbf(Subscriber::get()); - } }; -- cgit v1.2.3