mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-13 19:40:31 +03:00
Added shadow copies for CLI and MSP.
This commit is contained in:
parent
985a9208d5
commit
6de1c32d9d
56 changed files with 277 additions and 222 deletions
|
@ -113,7 +113,7 @@ bool areSticksInApModePosition(uint16_t ap_mode)
|
|||
|
||||
throttleStatus_e calculateThrottleStatus(void)
|
||||
{
|
||||
if (featureConfigured(FEATURE_3D)) {
|
||||
if (featureIsEnabled(FEATURE_3D)) {
|
||||
if (IS_RC_MODE_ACTIVE(BOX3D) || flight3DConfig()->switched_mode3d) {
|
||||
if (rcData[THROTTLE] < rxConfig()->mincheck) {
|
||||
return THROTTLE_LOW;
|
||||
|
@ -240,7 +240,7 @@ void processRcStickPositions()
|
|||
gyroStartCalibration(false);
|
||||
|
||||
#ifdef USE_GPS
|
||||
if (featureConfigured(FEATURE_GPS)) {
|
||||
if (featureIsEnabled(FEATURE_GPS)) {
|
||||
GPS_reset_home_position();
|
||||
}
|
||||
#endif
|
||||
|
@ -253,7 +253,7 @@ void processRcStickPositions()
|
|||
return;
|
||||
}
|
||||
|
||||
if (featureConfigured(FEATURE_INFLIGHT_ACC_CAL) && (rcSticks == THR_LO + YAW_LO + PIT_HI + ROL_HI)) {
|
||||
if (featureIsEnabled(FEATURE_INFLIGHT_ACC_CAL) && (rcSticks == THR_LO + YAW_LO + PIT_HI + ROL_HI)) {
|
||||
// Inflight ACC Calibration
|
||||
handleInflightCalibrationStickPosition();
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue