mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-06 00:50:36 +08:00
Replace PublicationQueued with Publication to automatically configure ORB_QUEUE_LENGTH
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user