1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-18 22:05:17 +03:00

Cleanup code // add unittestst for iterm windup

This commit is contained in:
borisbstyle 2018-09-10 12:27:53 +02:00
parent 261f8d679a
commit 00dbaf9fa7
5 changed files with 32 additions and 21 deletions

View file

@ -361,15 +361,6 @@ bool mixerIsTricopter(void)
#endif
}
bool mixerIsOutputSaturated(int axis, float errorRate)
{
if (axis == FD_YAW && mixerIsTricopter()) {
return mixerTricopterIsServoSaturated(errorRate);
}
return motorMixRange >= 1.0f;
}
// All PWM motor scaling is done to standard PWM range of 1000-2000 for easier tick conversion with legacy code / configurator
// DSHOT scaling is done to the actual dshot range
void initEscEndpoints(void)