tune_control: use orb queue advertisement consistently

This commit is contained in:
Beat Küng
2019-07-16 13:55:59 +02:00
committed by Daniel Agar
parent c869cb0ea5
commit 72ddf3e0aa
6 changed files with 9 additions and 6 deletions
+1 -1
View File
@@ -495,7 +495,7 @@ MK::task_main()
* advertise the tune_control.
*/
tune_control_s tune = {};
_tune_control_sub = orb_advertise(ORB_ID(tune_control), &tune);
_tune_control_sub = orb_advertise_queue(ORB_ID(tune_control), &tune, tune_control_s::ORB_QUEUE_LENGTH);
pollfd fds[2];
fds[0].fd = _t_actuators;