Skip to content

Commit 3f5286b

Browse files
committed
kalman - fix 'error: void value not ignored as it ought to be'
1 parent 9e47c0b commit 3f5286b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/sensors/gyro_filter_impl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ static FAST_CODE void GYRO_FILTER_FUNCTION_NAME(void)
5151
}
5252
gyroADCf = kalman_update(gyroADCf, axis);
5353
if (axis != FD_YAW) {
54-
GYRO_FILTER_DEBUG_SET(DEBUG_KALMAN, axis+2, lrintf(gyroADCf));
54+
GYRO_FILTER_DEBUG_SET(DEBUG_KALMAN, (axis+2), lrintf(gyroADCf));
5555
}
5656

5757
// DEBUG_GYRO_SAMPLE(1) Record the post-downsample value for the selected debug axis

0 commit comments

Comments
 (0)