mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-02 10:24:11 +01:00
Merge remote-tracking branch 'origin/amorale/OP-1419_mag_r2c2_factor_not_saved' into rel-14.06
This commit is contained in:
commit
33439a8781
@ -481,7 +481,7 @@ void SixPointCalibrationModel::save()
|
|||||||
if (calibratingMag) {
|
if (calibratingMag) {
|
||||||
RevoCalibration::DataFields revoCalibrationData = revoCalibration->getData();
|
RevoCalibration::DataFields revoCalibrationData = revoCalibration->getData();
|
||||||
|
|
||||||
for (int i = 0; i < RevoCalibration::MAG_TRANSFORM_R2C2; i++) {
|
for (int i = 0; i < RevoCalibration::MAG_TRANSFORM_NUMELEM; i++) {
|
||||||
revoCalibrationData.mag_transform[i] = result.revoCalibrationData.mag_transform[i];
|
revoCalibrationData.mag_transform[i] = result.revoCalibrationData.mag_transform[i];
|
||||||
}
|
}
|
||||||
for (int i = 0; i < 3; i++) {
|
for (int i = 0; i < 3; i++) {
|
||||||
|
Loading…
Reference in New Issue
Block a user