Skip to content
Snippets Groups Projects
Commit 0acdffad authored by Beat Küng's avatar Beat Küng Committed by Lorenz Meier
Browse files

fix MPU6000: restore orb priority

parent 352be14b
No related branches found
No related tags found
No related merge requests found
......@@ -48,8 +48,8 @@ MPU6000::MPU6000(device::Device *interface, const char *path, enum Rotation rota
#else
_use_hrt(true),
#endif
_px4_accel(_interface->get_device_id(), (_interface->external() ? ORB_PRIO_HIGH : ORB_PRIO_DEFAULT), rotation),
_px4_gyro(_interface->get_device_id(), (_interface->external() ? ORB_PRIO_HIGH : ORB_PRIO_DEFAULT), rotation),
_px4_accel(_interface->get_device_id(), (_interface->external() ? ORB_PRIO_MAX : ORB_PRIO_HIGH), rotation),
_px4_gyro(_interface->get_device_id(), (_interface->external() ? ORB_PRIO_MAX : ORB_PRIO_HIGH), rotation),
_sample_perf(perf_alloc(PC_ELAPSED, "mpu6k_read")),
_measure_interval(perf_alloc(PC_INTERVAL, "mpu6k_measure_interval")),
_bad_transfers(perf_alloc(PC_COUNT, "mpu6k_bad_trans")),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment