1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 16:25:31 +03:00

remove unnecessary argument

This commit is contained in:
borisbstyle 2016-02-20 20:26:57 +01:00
parent 240969be4a
commit 5706f163aa

View file

@ -748,7 +748,7 @@ STATIC_UNIT_TESTED void servoMixer(void)
#endif #endif
void acroPlusApply(int16_t axisPID[3]) { void acroPlusApply(void) {
int axis; int axis;
for (axis = 0; axis < 2; axis++) { for (axis = 0; axis < 2; axis++) {
@ -785,7 +785,7 @@ void mixTable(void)
bool isFailsafeActive = failsafeIsActive(); // TODO - Find out if failsafe checks are really needed here in mixer code bool isFailsafeActive = failsafeIsActive(); // TODO - Find out if failsafe checks are really needed here in mixer code
if (IS_RC_MODE_ACTIVE(BOXACROPLUS)) { if (IS_RC_MODE_ACTIVE(BOXACROPLUS)) {
acroPlusApply(axisPID); acroPlusApply();
} }
if (motorCount >= 4 && mixerConfig->yaw_jump_prevention_limit < YAW_JUMP_PREVENTION_LIMIT_HIGH) { if (motorCount >= 4 && mixerConfig->yaw_jump_prevention_limit < YAW_JUMP_PREVENTION_LIMIT_HIGH) {