diff options
author | Thomas Gubler <thomasgubler@gmail.com> | 2015-01-21 16:33:19 +0100 |
---|---|---|
committer | Thomas Gubler <thomasgubler@gmail.com> | 2015-01-21 16:33:19 +0100 |
commit | 1511fd7b2dd19e0ae4c63553cbaf00e2a753148f (patch) | |
tree | 805c055f2aea86d3ca550a7bf33e5396d3c893e5 /src/platforms/px4_message.h | |
parent | 52a2a23cc77cff300d0c73f66a450fc1a8fccd5a (diff) | |
download | px4-firmware-1511fd7b2dd19e0ae4c63553cbaf00e2a753148f.tar.gz px4-firmware-1511fd7b2dd19e0ae4c63553cbaf00e2a753148f.tar.bz2 px4-firmware-1511fd7b2dd19e0ae4c63553cbaf00e2a753148f.zip |
make handle() static
Diffstat (limited to 'src/platforms/px4_message.h')
-rw-r--r-- | src/platforms/px4_message.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/platforms/px4_message.h b/src/platforms/px4_message.h index c908f6fc6..bff7aa313 100644 --- a/src/platforms/px4_message.h +++ b/src/platforms/px4_message.h @@ -42,7 +42,7 @@ typedef const char* PX4TopicHandle; #else #include <uORB/uORB.h> -typedef const struct orb_metatdata* PX4TopicHandle; +typedef orb_id_t PX4TopicHandle; #endif namespace px4 @@ -70,7 +70,6 @@ public: virtual M& data() {return _data;} virtual const M& data() const {return _data;} - virtual PX4TopicHandle handle() = 0; private: M _data; }; |