We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 57b15e5 commit f67b904Copy full SHA for f67b904
src/main/sensors/gyro.c
@@ -469,7 +469,7 @@ FAST_CODE_NOINLINE float applySmithPredictor(smithPredictor_t *smithPredictor, f
469
delayCompensatedGyro = pt1FilterApply(&smithPredictor->smithPredictorFilter, delayCompensatedGyro);
470
gyroFiltered += delayCompensatedGyro;
471
472
- if (axis == gyro.gyroDebugAxis) {
+ if (axis == (int)(gyro.gyroDebugAxis)) {
473
DEBUG_SET(DEBUG_SMITH_PREDICTOR, 0, lrintf(input));
474
DEBUG_SET(DEBUG_SMITH_PREDICTOR, 1, lrintf(gyroFiltered));
475
DEBUG_SET(DEBUG_SMITH_PREDICTOR, 2, lrintf(delayedGyro));
0 commit comments