diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2015-01-26 09:50:23 +0100 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2015-01-29 16:33:54 +0100 |
commit | d9d9a59ce440fab4bb1177bd888dc99c77a82350 (patch) | |
tree | 0ae0ce518e344b9b29a15623da207e511eba2458 | |
parent | 51088026c79aa6dfa237ecfd8276d7e4997bbb9e (diff) | |
download | px4-firmware-d9d9a59ce440fab4bb1177bd888dc99c77a82350.tar.gz px4-firmware-d9d9a59ce440fab4bb1177bd888dc99c77a82350.tar.bz2 px4-firmware-d9d9a59ce440fab4bb1177bd888dc99c77a82350.zip |
MKBL: Move to topic groups
-rw-r--r-- | src/drivers/mkblctrl/mkblctrl.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/drivers/mkblctrl/mkblctrl.cpp b/src/drivers/mkblctrl/mkblctrl.cpp index 1055487cb..15412984b 100644 --- a/src/drivers/mkblctrl/mkblctrl.cpp +++ b/src/drivers/mkblctrl/mkblctrl.cpp @@ -456,8 +456,9 @@ MK::task_main() actuator_outputs_s outputs; memset(&outputs, 0, sizeof(outputs)); /* advertise the mixed control outputs */ - _t_outputs = orb_advertise(_primary_pwm_device ? ORB_ID_VEHICLE_CONTROLS : ORB_ID(actuator_outputs_1), - &outputs); + int dummy; + _t_outputs = orb_advertise_multi(ORB_ID(actuator_outputs), + &outputs, &dummy, ORB_PRIO_HIGH); /* advertise the blctrl status */ esc_status_s esc; |