diff options
author | Thomas Gubler <thomasgubler@gmail.com> | 2014-12-18 12:11:35 +0100 |
---|---|---|
committer | Thomas Gubler <thomasgubler@gmail.com> | 2014-12-18 12:11:35 +0100 |
commit | e697413667579ffb1c5900193a03da257c05d11a (patch) | |
tree | eae619c30f4e0179cb1f4fd2f6f6ef753df34d40 /src/platforms/px4_nodehandle.h | |
parent | 16618f1adac7f33817fb968b285288beb360b012 (diff) | |
download | px4-firmware-e697413667579ffb1c5900193a03da257c05d11a.tar.gz px4-firmware-e697413667579ffb1c5900193a03da257c05d11a.tar.bz2 px4-firmware-e697413667579ffb1c5900193a03da257c05d11a.zip |
multiplatform subscription: uorb: separate class for no callback case
Diffstat (limited to 'src/platforms/px4_nodehandle.h')
-rw-r--r-- | src/platforms/px4_nodehandle.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/platforms/px4_nodehandle.h b/src/platforms/px4_nodehandle.h index 160886810..97fb25563 100644 --- a/src/platforms/px4_nodehandle.h +++ b/src/platforms/px4_nodehandle.h @@ -168,7 +168,7 @@ public: std::function<void(const M &)> callback, unsigned interval) { - SubscriberUORB<M> *sub_px4 = new SubscriberUORB<M>(meta, interval, callback, &_subs); + SubscriberUORBCallback<M> *sub_px4 = new SubscriberUORBCallback<M>(meta, interval, callback, &_subs); /* Check if this is the smallest interval so far and update _sub_min_interval */ if (_sub_min_interval == nullptr || _sub_min_interval->getInterval() > sub_px4->getInterval()) { |