Mag cal: allow 6, 3 and 2 side calibrations (and anything in-between with bitfields)

This commit is contained in:
Lorenz Meier
2016-05-09 00:32:54 +02:00
parent 4aec95b239
commit 0917a346e4
3 changed files with 48 additions and 36 deletions
+1
View File
@@ -672,6 +672,7 @@ Sensors::Sensors() :
(void)param_find("CAL_MAG0_ROT");
(void)param_find("CAL_MAG1_ROT");
(void)param_find("CAL_MAG2_ROT");
(void)param_find("CAL_MAG_SIDES");
(void)param_find("SYS_PARAM_VER");
(void)param_find("SYS_AUTOSTART");
(void)param_find("SYS_AUTOCONFIG");