From 06972c02f18f3fe488b75fa81648ab454dfce971 Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Mon, 1 Jun 2020 03:10:35 +0800 Subject: [PATCH] dps.h: Remove CONFIG_LIBM and CONFIG_ARCH_MATH_H since the user may use math library from toolchain directly Signed-off-by: Xiang Xiao Change-Id: I67ccc4830403e3c15a84a8f9b1420d9a10894ddf --- include/dsp.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/include/dsp.h b/include/dsp.h index b83264c4441..7771e4e9822 100644 --- a/include/dsp.h +++ b/include/dsp.h @@ -68,10 +68,6 @@ # define CONFIG_LIBDSP_PRECISION 0 #endif -#if !defined(CONFIG_LIBM) && !defined(CONFIG_ARCH_MATH_H) -# error math.h not defined! -#endif - /* Phase rotation direction */ #define DIR_CW (1.0f)