Replace PublicationQueued with Publication to automatically configure ORB_QUEUE_LENGTH

This commit is contained in:
FengShun
2020-10-26 12:40:50 +08:00
committed by Beat Küng
parent 90c366f369
commit eac9a6b68b
46 changed files with 58 additions and 68 deletions
+1 -1
View File
@@ -58,7 +58,7 @@ static void publish_led_control(led_control_s &led_control)
{
led_control.timestamp = hrt_absolute_time();
uORB::PublicationQueued<led_control_s> led_control_pub{ORB_ID(led_control)};
uORB::Publication<led_control_s> led_control_pub{ORB_ID(led_control)};
led_control_pub.publish(led_control);
}