1
0
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:
Alessio Morale 2014-09-07 22:43:36 +02:00
parent 4890ef3ab0
commit bcb30ecbf3

View File

@ -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 */