aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Gubler <thomasgubler@gmail.com>2015-01-21 17:41:56 +0100
committerThomas Gubler <thomasgubler@gmail.com>2015-01-21 17:41:56 +0100
commitb04fcad525c8f76419d468f43a4b159bc5200fbe (patch)
treeed9ec9fede5ccfdb4309ede2a2d6ca64bbb1119a
parent02fdd48a477853a2f54c7954478a3ce5b5b3f497 (diff)
downloadpx4-firmware-b04fcad525c8f76419d468f43a4b159bc5200fbe.tar.gz
px4-firmware-b04fcad525c8f76419d468f43a4b159bc5200fbe.tar.bz2
px4-firmware-b04fcad525c8f76419d468f43a4b159bc5200fbe.zip
fix bracket position
-rw-r--r--src/platforms/px4_subscriber.h2
1 files changed, 1 insertions, 1 deletions
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<T>::get());
- }
};