mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-30 09:34:07 +08:00
Fixes a serious bug in combination with the HMC5883 driver (also used for HMC5983): this driver estimates a scale in MAGIOCCALIBRATE and applies it. The calibration routine does the calibration with that scale applied, and then overwrites it, without considering it in any way. Most other mag drivers only do some measurements and perform some checks in MAGIOCCALIBRATE (but the result is just ignored).