mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-11-25 08:40:30 +08:00
HMC5833 driver: Enable internal temperature calibration when available.
This commit is contained in:
1 parent
e659bbb777
commit
a1c698034d
1 file changed
+3
-3
@@ -9,12 +9,12 @@ adc start
|
||||
if ver hwcmp PX4FMU_V2
|
||||
then
|
||||
# External I2C bus
|
||||
if hmc5883 -C -X start
|
||||
if hmc5883 -C -T -X start
|
||||
then
|
||||
fi
|
||||
|
||||
# Internal I2C bus
|
||||
if hmc5883 -C -I -R 4 start
|
||||
if hmc5883 -C -T -I -R 4 start
|
||||
then
|
||||
fi
|
||||
|
||||
@@ -43,7 +43,7 @@ then
|
||||
then
|
||||
fi
|
||||
|
||||
if hmc5883 -S -R 8 start
|
||||
if hmc5883 -C -T -S -R 8 start
|
||||
then
|
||||
fi
|
||||
|
||||
|
||||
Reference in new issue
Block a user