diff options
Diffstat (limited to 'src/examples/subscriber/subscriber_example.cpp')
-rw-r--r-- | src/examples/subscriber/subscriber_example.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/examples/subscriber/subscriber_example.cpp b/src/examples/subscriber/subscriber_example.cpp index 83ead4ba5..3c80561ca 100644 --- a/src/examples/subscriber/subscriber_example.cpp +++ b/src/examples/subscriber/subscriber_example.cpp @@ -78,5 +78,5 @@ SubscriberExample::SubscriberExample() : void SubscriberExample::rc_channels_callback(const PX4_TOPIC_T(rc_channels) &msg) { PX4_INFO("Subscriber callback: [%llu], value of _sub_rc_chan: [%llu]", msg.timestamp_last_valid, - _sub_rc_chan->get_msg().timestamp_last_valid); + _sub_rc_chan->get().timestamp_last_valid); } |