feat(lv_conf) export LV_DPI_DEF in lv_conf_internal.h
This commit is contained in:
@@ -59,6 +59,10 @@ fout.write(
|
|||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
/*----------------------------------
|
||||||
|
* Start parsing lv_conf_template.h
|
||||||
|
-----------------------------------*/
|
||||||
'''
|
'''
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -106,14 +110,15 @@ for i in fin.read().splitlines():
|
|||||||
fout.write(
|
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 running without lv_conf.h add typdesf with default value*/
|
||||||
#if defined(LV_CONF_SKIP)
|
#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*/
|
# if defined(_MSC_VER) && !defined(_CRT_SECURE_NO_WARNINGS) /*Disable warnings for Visual Studio*/
|
||||||
# define _CRT_SECURE_NO_WARNINGS
|
# define _CRT_SECURE_NO_WARNINGS
|
||||||
# endif
|
# endif
|
||||||
|
|||||||
@@ -42,6 +42,10 @@
|
|||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
/*----------------------------------
|
||||||
|
* Start parsing lv_conf_template.h
|
||||||
|
-----------------------------------*/
|
||||||
/*clang-format off*/
|
/*clang-format off*/
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
@@ -1468,14 +1472,15 @@ e.g. "stm32f769xx.h" or "stm32f429xx.h"*/
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/*----------------------------------
|
||||||
|
* 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 running without lv_conf.h add typdesf with default value*/
|
||||||
#if defined(LV_CONF_SKIP)
|
#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*/
|
# if defined(_MSC_VER) && !defined(_CRT_SECURE_NO_WARNINGS) /*Disable warnings for Visual Studio*/
|
||||||
# define _CRT_SECURE_NO_WARNINGS
|
# define _CRT_SECURE_NO_WARNINGS
|
||||||
# endif
|
# endif
|
||||||
|
|||||||
Reference in New Issue
Block a user