diff --git a/Source/SupportFunctions/arm_float_to_q15.c b/Source/SupportFunctions/arm_float_to_q15.c index e34089ed..76736d5b 100644 --- a/Source/SupportFunctions/arm_float_to_q15.c +++ b/Source/SupportFunctions/arm_float_to_q15.c @@ -69,6 +69,9 @@ void arm_float_to_q15( float32_t maxQ = (float32_t) Q15_MAX; f32x4x2_t tmp; q15x8_t vecDst; +#ifdef ARM_MATH_ROUNDING + float32_t in; +#endif blkCnt = blockSize >> 3; diff --git a/Source/SupportFunctions/arm_float_to_q31.c b/Source/SupportFunctions/arm_float_to_q31.c index 8acd0b43..a4580f2b 100644 --- a/Source/SupportFunctions/arm_float_to_q31.c +++ b/Source/SupportFunctions/arm_float_to_q31.c @@ -72,6 +72,9 @@ void arm_float_to_q31( uint32_t blkCnt; float32_t maxQ = (float32_t) Q31_MAX; f32x4_t vecDst; +#ifdef ARM_MATH_ROUNDING + float32_t in; +#endif blkCnt = blockSize >> 2U; diff --git a/Source/SupportFunctions/arm_float_to_q7.c b/Source/SupportFunctions/arm_float_to_q7.c index 3833e8b6..80eb294a 100644 --- a/Source/SupportFunctions/arm_float_to_q7.c +++ b/Source/SupportFunctions/arm_float_to_q7.c @@ -70,6 +70,9 @@ void arm_float_to_q7( q15x8_t evVec, oddVec; q7x16_t vecDst; float32_t const *pSrcVec; +#ifdef ARM_MATH_ROUNDING + float32_t in; +#endif pSrcVec = (float32_t const *) pSrc; blkCnt = blockSize >> 4;