mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-16 15:13:35 +08:00
mc att: use multiplatform subscriptions type
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user