mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-18 16:53:33 +08:00
PixHawk Pro: Update mag IDs to have external higher priority
This commit is contained in:
committed by
Lorenz Meier
parent
daf668e687
commit
d67b6efda3
@@ -941,6 +941,11 @@ LIS3MDL::collect()
|
||||
new_report.temperature = report.t;
|
||||
new_report.temperature = 25 + (report.t / (16 * 8.0f));
|
||||
|
||||
// XXX revisit for SPI part, might require a bus type IOCTL
|
||||
|
||||
unsigned dummy;
|
||||
sensor_is_onboard = !_interface->ioctl(MAGIOCGEXTERNAL, dummy);
|
||||
|
||||
/*
|
||||
* RAW outputs
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user