Skip to content

Commit

Permalink
BMM150: Fix priority assignment
Browse files Browse the repository at this point in the history
Signed-off-by: Claudio Micheli <claudio@auterion.com>
  • Loading branch information
cmic0 authored and dagar committed Jan 22, 2020
1 parent db36edf commit 421a066
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/drivers/magnetometer/bmm150/bmm150.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 421a066

Please sign in to comment.