1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-26 17:55:28 +03:00

Merge pull request #4202 from iNavFlight/de_runtime_cal_refactor

Refactor run-time calibration
This commit is contained in:
Konstantin Sharlaimov 2019-02-07 19:15:13 +01:00 committed by GitHub
commit d2c60a60e5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
19 changed files with 431 additions and 186 deletions

View file

@ -2068,7 +2068,7 @@ static mspResult_e mspFcProcessInCommand(uint16_t cmdMSP, sbuf_t *src)
case MSP_ACC_CALIBRATION:
if (!ARMING_FLAG(ARMED))
accSetCalibrationCycles(CALIBRATING_ACC_CYCLES);
accStartCalibration();
else
return MSP_RESULT_ERROR;
break;