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:
parent
d29db87bdc
commit
618661df93
@ -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
|
||||
|
||||
/****************************************************************************
|
||||
|
Loading…
Reference in New Issue
Block a user