1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-25 01:05:27 +03:00

AIR MODE Optimalisations // Disable retarded arm

enable level modes
This commit is contained in:
borisbstyle 2015-12-06 23:22:54 +01:00
parent fe5ec022de
commit 400fe14e30
6 changed files with 14 additions and 15 deletions

View file

@ -801,7 +801,7 @@ void mixTable(void)
}
// adjust feedback to scale PID error inputs to our limitations.
rpy_limiting = constrainf(((rpy_limiting * th_range) / rpy_range), 0.1f, 1.0f);
rpy_limiting = constrainf(((rpy_limiting * th_range) / rpy_range), 0.2f, 1.0f);
}
if (ARMING_FLAG(ARMED)) {
@ -857,8 +857,6 @@ void mixTable(void)
if (((rcData[THROTTLE]) < rxConfig->mincheck) && !(IS_RC_MODE_ACTIVE(BOXAIRMODE))) {
if (feature(FEATURE_MOTOR_STOP)) {
motor[i] = escAndServoConfig->mincommand;
} else {
motor[i] = escAndServoConfig->minthrottle;
}
}
}