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:
commit
d2c60a60e5
19 changed files with 431 additions and 186 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue