mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-16 12:55:19 +03:00
Port of refactored beeper code 181_1
This the "Port of refactored beeper code #669" modification applied to version 1.8.1 (4/4/2015) of the code.
This commit is contained in:
parent
988ae2d503
commit
f02d7403af
15 changed files with 476 additions and 191 deletions
|
@ -139,7 +139,7 @@ void performInflightAccelerationCalibration(rollAndPitchTrims_t *rollAndPitchTri
|
|||
if (InflightcalibratingA == 1) {
|
||||
AccInflightCalibrationActive = false;
|
||||
AccInflightCalibrationMeasurementDone = true;
|
||||
queueConfirmationBeep(5); // beeper to indicating the end of calibration
|
||||
beeper(BEEPER_ACC_CALIBRATION); // indicate end of calibration
|
||||
// recover saved values to maintain current flight behaviour until new values are transferred
|
||||
accelerationTrims->raw[X] = accZero_saved[X];
|
||||
accelerationTrims->raw[Y] = accZero_saved[Y];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue