mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 00:05:33 +03:00
IDLE UP switch // Remove pid_at_min_throttle
This commit is contained in:
parent
769ddd39af
commit
eafa631a32
7 changed files with 11 additions and 40 deletions
|
@ -329,7 +329,6 @@ void resetRcControlsConfig(rcControlsConfig_t *rcControlsConfig) {
|
|||
}
|
||||
|
||||
void resetMixerConfig(mixerConfig_t *mixerConfig) {
|
||||
mixerConfig->pid_at_min_throttle = 1;
|
||||
mixerConfig->yaw_motor_direction = 1;
|
||||
mixerConfig->yaw_jump_prevention_limit = 200;
|
||||
#ifdef USE_SERVOS
|
||||
|
@ -827,14 +826,6 @@ void validateAndFixConfig(void)
|
|||
masterConfig.telemetryConfig.telemetry_inversion = 1;
|
||||
#endif
|
||||
|
||||
/*
|
||||
* The retarded_arm setting is incompatible with pid_at_min_throttle because full roll causes the craft to roll over on the ground.
|
||||
* The pid_at_min_throttle implementation ignores yaw on the ground, but doesn't currently ignore roll when retarded_arm is enabled.
|
||||
*/
|
||||
if (masterConfig.retarded_arm && masterConfig.mixerConfig.pid_at_min_throttle) {
|
||||
masterConfig.mixerConfig.pid_at_min_throttle = 0;
|
||||
}
|
||||
|
||||
#if defined(CC3D) && defined(SONAR) && defined(USE_SOFTSERIAL1)
|
||||
if (feature(FEATURE_SONAR) && feature(FEATURE_SOFTSERIAL)) {
|
||||
featureClear(FEATURE_SONAR);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue