From 108e38702254b094182dead8cb9093cd16cb7d2e Mon Sep 17 00:00:00 2001 From: Bruce Luckcuck Date: Sat, 9 Jun 2018 10:29:25 -0400 Subject: [PATCH] Fix typo where assignment was used instead of equality --- src/main/fc/fc_rc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/fc/fc_rc.c b/src/main/fc/fc_rc.c index 28380d5814..57aec5a681 100644 --- a/src/main/fc/fc_rc.c +++ b/src/main/fc/fc_rc.c @@ -362,7 +362,7 @@ FAST_CODE uint8_t processRcSmoothingFilter(void) } } - if (filterInitialized && (debugMode = DEBUG_RC_SMOOTHING)) { + if (filterInitialized && (debugMode == DEBUG_RC_SMOOTHING)) { // after training has completed then log the raw rc channel and the calculated // average rx frame rate that was used to calculate the automatic filter cutoffs DEBUG_SET(DEBUG_RC_SMOOTHING, 0, lrintf(lastRxData[rxConfig()->rc_smoothing_debug_axis]));