arch: cxd56xx: Fix compile error when CONFIG_LIBM is disabled

It is no longer necessary to define CONFIG_ARCH_MATH_H when we would
like to link libm.a other than nuttx math library. So, this commit
removes the error condition.
This commit is contained in:
SPRESENSE 2021-07-04 12:54:28 +09:00 committed by Xiang Xiao
parent d29db87bdc
commit 618661df93

View File

@ -62,13 +62,8 @@
/* Configuration */
#undef USE_FLOAT_CONVERSION
#ifdef CONFIG_CXD56_CHARGER_TEMP_PRECISE
#if !defined(CONFIG_LIBM) && !defined(CONFIG_ARCH_MATH_H)
# error Temperature conversion in float requires math library.
#endif
#define USE_FLOAT_CONVERSION 1
# define USE_FLOAT_CONVERSION
#endif
/****************************************************************************