aboutsummaryrefslogtreecommitdiff
path: root/src/platforms/px4_message.h
diff options
context:
space:
mode:
authorThomas Gubler <thomasgubler@gmail.com>2015-01-21 16:33:19 +0100
committerThomas Gubler <thomasgubler@gmail.com>2015-01-21 16:33:19 +0100
commit1511fd7b2dd19e0ae4c63553cbaf00e2a753148f (patch)
tree805c055f2aea86d3ca550a7bf33e5396d3c893e5 /src/platforms/px4_message.h
parent52a2a23cc77cff300d0c73f66a450fc1a8fccd5a (diff)
downloadpx4-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.h3
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;
};