lv_printf: expose floating-point configuration option

This commit is contained in:
Themba Dube
2020-06-01 12:08:08 -04:00
parent ef1242f234
commit 0c4c6cf199
3 changed files with 7 additions and 1 deletions

View File

@@ -721,6 +721,10 @@
#ifndef lv_vsnprintf
# define lv_vsnprintf vsnprintf
#endif
#else /*!LV_SPRINTF_CUSTOM*/
#ifndef LV_SPRINTF_DISABLE_FLOAT
# define LV_SPRINTF_DISABLE_FLOAT 1
#endif
#endif /*LV_SPRINTF_CUSTOM*/
/*===================