diff --git a/arch/arm/src/cxd56xx/cxd56_charger.c b/arch/arm/src/cxd56xx/cxd56_charger.c index 4cb7a07346..1bd3970f09 100644 --- a/arch/arm/src/cxd56xx/cxd56_charger.c +++ b/arch/arm/src/cxd56xx/cxd56_charger.c @@ -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 /****************************************************************************