mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-21 01:12:11 +00:00
BMM150: Fix priority assignment
Signed-off-by: Claudio Micheli <claudio@auterion.com>
This commit is contained in:
committed by
Daniel Agar
parent
db36edffe8
commit
421a06685c
@@ -379,7 +379,7 @@ int BMM150::init()
|
||||
|
||||
/* measurement will have generated a report, publish */
|
||||
_topic = orb_advertise_multi(ORB_ID(sensor_mag), &mrb,
|
||||
&_orb_class_instance, (external()) ? ORB_PRIO_HIGH : ORB_PRIO_MAX);
|
||||
&_orb_class_instance, (external()) ? ORB_PRIO_MAX : ORB_PRIO_HIGH);
|
||||
|
||||
if (_topic == nullptr) {
|
||||
PX4_WARN("ADVERT FAIL");
|
||||
|
||||
Reference in New Issue
Block a user