feat(lv_conf) export LV_DPI_DEF in lv_conf_internal.h

This commit is contained in:
Gabor Kiss-Vamosi
2021-04-26 12:20:57 +02:00
parent da39d692dd
commit fca7b106f1
2 changed files with 20 additions and 10 deletions

View File

@@ -59,6 +59,10 @@ fout.write(
# endif
#endif
/*----------------------------------
* Start parsing lv_conf_template.h
-----------------------------------*/
'''
)
@@ -106,14 +110,15 @@ for i in fin.read().splitlines():
fout.write(
'''
/*----------------------------------
* End of parsing lv_conf_template.h
-----------------------------------*/
LV_EXPORT_CONST_INT(LV_DPI_DEF);
/*If running without lv_conf.h add typdesf with default value*/
#if defined(LV_CONF_SKIP)
# if LV_USE_USER_DATA
typedef void * lv_obj_user_data_t;
# endif
# if defined(_MSC_VER) && !defined(_CRT_SECURE_NO_WARNINGS) /*Disable warnings for Visual Studio*/
# define _CRT_SECURE_NO_WARNINGS
# endif