From c0d386bce0a2fd7d119dd8495d1ca68d985ae411 Mon Sep 17 00:00:00 2001 From: Thomas Gubler Date: Fri, 12 Dec 2014 10:15:33 +0100 Subject: mc att: use multiplatform subscriptions type --- src/platforms/px4_subscriber.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/platforms/px4_subscriber.h') diff --git a/src/platforms/px4_subscriber.h b/src/platforms/px4_subscriber.h index 59c0ef70b..7d8463cb5 100644 --- a/src/platforms/px4_subscriber.h +++ b/src/platforms/px4_subscriber.h @@ -79,7 +79,7 @@ public: /** * Get the last message value */ - virtual const M& get_msg() = 0; + virtual const M& get() = 0; }; #if defined(__linux) || (defined(__APPLE__) && defined(__MACH__)) @@ -120,7 +120,7 @@ public: /** * Get the last message value */ - const M& get_msg() { return _msg_current; } + const M& get() { return _msg_current; } protected: /** @@ -210,7 +210,7 @@ public: /** * Get the last message value */ - const M& get_msg() { return uORB::Subscription::getData(); } + const M& get() { return uORB::Subscription::getData(); } protected: std::function _callback; /**< Callback handle, -- cgit v1.2.3