Replace PublicationQueued with Publication to automatically configure ORB_QUEUE_LENGTH

This commit is contained in:
FengShun
2020-10-26 13:01:13 +01:00
committed by Beat Küng
parent 90c366f369
commit eac9a6b68b
46 changed files with 58 additions and 68 deletions
+1 -1
View File
@@ -60,7 +60,7 @@ static void usage();
static void publish_tune_control(tune_control_s &tune_control)
{
uORB::PublicationQueued<tune_control_s> tune_control_pub{ORB_ID(tune_control)};
uORB::Publication<tune_control_s> tune_control_pub{ORB_ID(tune_control)};
tune_control.timestamp = hrt_absolute_time();
tune_control_pub.publish(tune_control);
}