1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-26 01:35:41 +03:00

Made it more positive.

This commit is contained in:
mikeller 2018-07-01 19:14:31 +12:00
parent fb83ea4b52
commit b308eef6e9
3 changed files with 5 additions and 5 deletions

View file

@ -245,14 +245,14 @@ static void validateAndFixConfig(void)
rxConfigMutable()->rssi_src_frame_errors = false;
}
if (rcSmoothingIsOff() || rxConfig()->rcInterpolationChannels == INTERPOLATION_CHANNELS_T) {
if (!rcSmoothingIsEnabled() || rxConfig()->rcInterpolationChannels == INTERPOLATION_CHANNELS_T) {
for (unsigned i = 0; i < MAX_PROFILE_COUNT; i++) {
pidProfilesMutable(i)->dtermSetpointWeight = 0;
}
}
#if defined(USE_THROTTLE_BOOST)
if (rcSmoothingIsOff() ||
if (!rcSmoothingIsEnabled() ||
!(rxConfig()->rcInterpolationChannels == INTERPOLATION_CHANNELS_RPYT
|| rxConfig()->rcInterpolationChannels == INTERPOLATION_CHANNELS_T
|| rxConfig()->rcInterpolationChannels == INTERPOLATION_CHANNELS_RPT)) {