refactor hmc5883: use driver base class

Removes the calibration on startup, as these values were overwritten by
the system calibration values anyway.
So the only difference is that if all calibration scales were equal to 1,
the driver startup would have failed.
This commit is contained in:
Beat Küng
2020-03-13 09:05:36 +01:00
committed by Daniel Agar
parent 8f3ba81c4a
commit 8ebde51648
23 changed files with 167 additions and 460 deletions

View File

@@ -16,7 +16,7 @@ param set MAV_TYPE 2
param set MAV_SYS_ID 1
mpu9250 -R 10 start
hmc5883 start
hmc5883 -I start
ms5611 -s start
rgbled start -b 1