This is an automated email from the ASF dual-hosted git repository.
gnutt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new 06972c0 dps.h: Remove CONFIG_LIBM and CONFIG_ARCH_MATH_H
06972c0 is described below
commit 06972c02f18f3fe488b75fa81648ab454dfce971
Author: Xiang Xiao <[email protected]>
AuthorDate: Mon Jun 1 03:10:35 2020 +0800
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 <[email protected]>
Change-Id: I67ccc4830403e3c15a84a8f9b1420d9a10894ddf
---
include/dsp.h | 4 ----
1 file changed, 4 deletions(-)
diff --git a/include/dsp.h b/include/dsp.h
index b83264c..7771e4e 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)