1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-20 06:45:16 +03:00

Fix rcSmoothing warning (#12893)

This commit is contained in:
Mark Haslinghuis 2023-06-18 01:48:58 +02:00 committed by GitHub
parent c1694c2b60
commit d1eb214332
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1077,7 +1077,7 @@ void processRxModes(timeUs_t currentTimeUs)
#endif // USE_ACRO_TRAINER #endif // USE_ACRO_TRAINER
#ifdef USE_RC_SMOOTHING_FILTER #ifdef USE_RC_SMOOTHING_FILTER
if (ARMING_FLAG(ARMED) && !rcSmoothingInitializationComplete()) { if (ARMING_FLAG(ARMED) && !rcSmoothingInitializationComplete() && rxConfig()->rc_smoothing_mode) {
beeper(BEEPER_RC_SMOOTHING_INIT_FAIL); beeper(BEEPER_RC_SMOOTHING_INIT_FAIL);
} }
#endif #endif