mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-26 01:35:35 +03:00
Do not automatically persist the gyro calibration
This commit is contained in:
parent
4d4e279e71
commit
1c17a16b2b
1 changed files with 0 additions and 6 deletions
|
@ -421,16 +421,10 @@ void setGyroCalibrationAndWriteEEPROM(int16_t getGyroZero[XYZ_AXIS_COUNT]) {
|
|||
gyroConfigMutable()->gyro_zero_cal[X] = getGyroZero[X];
|
||||
gyroConfigMutable()->gyro_zero_cal[Y] = getGyroZero[Y];
|
||||
gyroConfigMutable()->gyro_zero_cal[Z] = getGyroZero[Z];
|
||||
// save the calibration
|
||||
writeEEPROM();
|
||||
readEEPROM();
|
||||
}
|
||||
|
||||
void setGravityCalibrationAndWriteEEPROM(float getGravity) {
|
||||
gyroConfigMutable()->gravity_cmss_cal = getGravity;
|
||||
// save the calibration
|
||||
writeEEPROM();
|
||||
readEEPROM();
|
||||
}
|
||||
|
||||
void beeperOffSet(uint32_t mask)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue