diff options
Diffstat (limited to 'src/examples/subscriber/subscriber_example.h')
-rw-r--r-- | src/examples/subscriber/subscriber_example.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/examples/subscriber/subscriber_example.h b/src/examples/subscriber/subscriber_example.h index 43dafe010..883d83be7 100644 --- a/src/examples/subscriber/subscriber_example.h +++ b/src/examples/subscriber/subscriber_example.h @@ -41,7 +41,7 @@ using namespace px4; -void rc_channels_callback_function(const PX4_TOPIC_T(rc_channels) &msg); +void rc_channels_callback_function(const px4_rc_channels &msg); class SubscriberExample { public: @@ -56,7 +56,6 @@ protected: int32_t _interval; px4_param_t _p_test_float; float _test_float; - // px4::PX4_SUBSCRIBER(rc_channels) * _sub_rc_chan; px4::Subscriber<px4_rc_channels> * _sub_rc_chan; // void rc_channels_callback(const PX4_TOPIC_T(rc_channels) &msg); |