mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-27 16:54:15 +01:00
OP-1477 - enable temp compensation and fix axis orders
This commit is contained in:
parent
4890ef3ab0
commit
bcb30ecbf3
@ -248,6 +248,7 @@ static const struct pios_hmc5x83_cfg pios_mag_cfg = {
|
|||||||
.Gain = PIOS_HMC5x83_GAIN_1_9,
|
.Gain = PIOS_HMC5x83_GAIN_1_9,
|
||||||
.Mode = PIOS_HMC5x83_MODE_CONTINUOUS,
|
.Mode = PIOS_HMC5x83_MODE_CONTINUOUS,
|
||||||
.Driver = &PIOS_HMC5x83_SPI_DRIVER,
|
.Driver = &PIOS_HMC5x83_SPI_DRIVER,
|
||||||
|
.TempCompensation = true,
|
||||||
};
|
};
|
||||||
#endif /* PIOS_INCLUDE_HMC5883 */
|
#endif /* PIOS_INCLUDE_HMC5883 */
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user