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
@@ -72,7 +72,7 @@ _control_latency_perf(perf_alloc(PC_ELAPSED, "control latency"))
// Enforce the existence of the test_motor topic, so we won't miss initial publications
test_motor_s test{};
uORB::PublicationQueued<test_motor_s> test_motor_pub{ORB_ID(test_motor)};
uORB::Publication<test_motor_s> test_motor_pub{ORB_ID(test_motor)};
test_motor_pub.publish(test);
_motor_test.test_motor_sub.subscribe();
}