mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-29 14:52:12 +01:00
OP-1419 - fix mag factor r2c2 not saved
This commit is contained in:
parent
45b7f27a85
commit
401aeee9eb
@ -481,7 +481,7 @@ void SixPointCalibrationModel::save()
|
||||
if (calibratingMag) {
|
||||
RevoCalibration::DataFields revoCalibrationData = revoCalibration->getData();
|
||||
|
||||
for (int i = 0; i < RevoCalibration::MAG_TRANSFORM_R2C2; i++) {
|
||||
for (int i = 0; i < RevoCalibration::MAG_TRANSFORM_R2C2 + 1; i++) {
|
||||
revoCalibrationData.mag_transform[i] = result.revoCalibrationData.mag_transform[i];
|
||||
}
|
||||
for (int i = 0; i < 3; i++) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user