aboutsummaryrefslogtreecommitdiff
path: root/src/platforms/px4_message.h
diff options
context:
space:
mode:
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;
};