mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-15 04:15:44 +03:00
Add USE_ACC conditionals
This commit is contained in:
parent
af84f9e99d
commit
cc0e689bb5
9 changed files with 31 additions and 2 deletions
|
@ -278,12 +278,13 @@ void processRcStickPositions()
|
|||
saveConfigAndNotify();
|
||||
}
|
||||
|
||||
#ifdef USE_ACC
|
||||
if (rcSticks == THR_HI + YAW_LO + PIT_LO + ROL_CE) {
|
||||
// Calibrating Acc
|
||||
accSetCalibrationCycles(CALIBRATING_ACC_CYCLES);
|
||||
return;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
if (rcSticks == THR_HI + YAW_HI + PIT_LO + ROL_CE) {
|
||||
// Calibrating Mag
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue