mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 08:15:30 +03:00
Merge pull request #6075 from etracer65/rc_smoothing_typo
Fix typo where assignment was used instead of equality
This commit is contained in:
commit
504b1479fb
1 changed files with 1 additions and 1 deletions
|
@ -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]));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue