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:
parent
261f8d679a
commit
00dbaf9fa7
5 changed files with 32 additions and 21 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue