diff options
author | Thomas Gubler <thomasgubler@gmail.com> | 2015-01-21 17:41:56 +0100 |
---|---|---|
committer | Thomas Gubler <thomasgubler@gmail.com> | 2015-01-21 17:41:56 +0100 |
commit | b04fcad525c8f76419d468f43a4b159bc5200fbe (patch) | |
tree | ed9ec9fede5ccfdb4309ede2a2d6ca64bbb1119a /src/platforms | |
parent | 02fdd48a477853a2f54c7954478a3ce5b5b3f497 (diff) | |
download | px4-firmware-b04fcad525c8f76419d468f43a4b159bc5200fbe.tar.gz px4-firmware-b04fcad525c8f76419d468f43a4b159bc5200fbe.tar.bz2 px4-firmware-b04fcad525c8f76419d468f43a4b159bc5200fbe.zip |
fix bracket position
Diffstat (limited to 'src/platforms')
-rw-r--r-- | src/platforms/px4_subscriber.h | 2 |
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()); - } }; |