set LV_SPRINTF_CUSTOM to 1

This commit is contained in:
fvanroie 2021-06-11 22:59:20 +02:00
parent 4da628cc68
commit 2f33550aac
2 changed files with 3 additions and 3 deletions

View File

@ -655,7 +655,7 @@ typedef void* lv_font_user_data_t;
#endif
/*Change the built in (v)snprintf functions*/
#define LV_SPRINTF_CUSTOM 0
#define LV_SPRINTF_CUSTOM 1 // saves 1.4 KiB
#if LV_SPRINTF_CUSTOM
# define LV_SPRINTF_INCLUDE <stdio.h>
# define lv_snprintf snprintf

View File

@ -556,7 +556,7 @@ typedef void * lv_font_user_data_t;
#define LV_USE_ARABIC_PERSIAN_CHARS 0
/*Change the built in (v)snprintf functions*/
#define LV_SPRINTF_CUSTOM 0
#define LV_SPRINTF_CUSTOM 1 // saves 1.4 KiB
#if LV_SPRINTF_CUSTOM
# define LV_SPRINTF_INCLUDE <stdio.h>
# define lv_snprintf snprintf