From 47e4d3d68d086dfda74620a5ed19d2f38df43734 Mon Sep 17 00:00:00 2001 From: mikeller Date: Mon, 20 Aug 2018 14:32:21 +1200 Subject: [PATCH] Fixed warning. --- src/main/sensors/gyro.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/sensors/gyro.c b/src/main/sensors/gyro.c index d02b1cdeb3..427720bcd7 100644 --- a/src/main/sensors/gyro.c +++ b/src/main/sensors/gyro.c @@ -1018,7 +1018,7 @@ static FAST_CODE void checkForYawSpin(gyroSensor_t *gyroSensor, timeUs_t current #endif // USE_YAW_SPIN_RECOVERY #define GYRO_FILTER_FUNCTION_NAME filterGyro -#define GYRO_FILTER_DEBUG_SET(...) +#define GYRO_FILTER_DEBUG_SET(mode, index, value) { UNUSED(mode); UNUSED(index); UNUSED(value); } #include "gyro_filter_impl.h" #undef GYRO_FILTER_FUNCTION_NAME #undef GYRO_FILTER_DEBUG_SET