diff --git a/Source/SupportFunctions/arm_f16_to_f64.c b/Source/SupportFunctions/arm_f16_to_f64.c index d80295d27..d27da5736 100644 --- a/Source/SupportFunctions/arm_f16_to_f64.c +++ b/Source/SupportFunctions/arm_f16_to_f64.c @@ -28,6 +28,7 @@ #include "dsp/support_functions_f16.h" +#if defined(ARM_FLOAT16_SUPPORTED) /** @ingroup groupSupport @@ -80,3 +81,4 @@ void arm_f16_to_f64( +#endif /* #if defined(ARM_FLOAT16_SUPPORTED) */ diff --git a/Source/SupportFunctions/arm_f64_to_f16.c b/Source/SupportFunctions/arm_f64_to_f16.c index a631b6978..b4622f520 100644 --- a/Source/SupportFunctions/arm_f64_to_f16.c +++ b/Source/SupportFunctions/arm_f64_to_f16.c @@ -28,6 +28,8 @@ #include "dsp/support_functions_f16.h" +#if defined(ARM_FLOAT16_SUPPORTED) + /** @ingroup groupSupport */ @@ -78,3 +80,4 @@ void arm_f64_to_f16( @} end of f64_to_x group */ +#endif /* #if defined(ARM_FLOAT16_SUPPORTED) */