1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-28 07:03:00 +08:00

fix define name in lv_conf_internal.h

This commit is contained in:
Gabor Kiss-Vamosi 2020-09-08 14:47:00 +02:00
parent a8e3fc594e
commit 893c53476c
2 changed files with 4 additions and 4 deletions

View File

@ -30,7 +30,7 @@ fout.write(
#include <stdint.h>
/*If lv_conf.h is not skipped include it*/
#if !defined(LV_CONF_SKIP) && !defined(CONFIG_LV_CONF_IGONRE)
#if !defined(LV_CONF_SKIP) && !defined(CONFIG_LV_CONF_SKIP)
# if defined(LV_CONF_PATH) /*If there is a path defined for lv_conf.h use it*/
# define __LV_TO_STR_AUX(x) #x
# define __LV_TO_STR(x) __LV_TO_STR_AUX(x)
@ -94,7 +94,7 @@ fout.write(
'''
/*If running without lv_conf.h add typdesf with default value*/
#if !defined(LV_CONF_SKIP) && !defined(CONFIG_LV_CONF_IGONRE)
#if !defined(LV_CONF_SKIP) && !defined(CONFIG_LV_CONF_SKIP)
/* Type of coordinates. Should be `int16_t` (or `int32_t` for extreme cases) */
typedef int16_t lv_coord_t;

View File

@ -11,7 +11,7 @@
#include <stdint.h>
/*If lv_conf.h is not skipped include it*/
#if !defined(LV_CONF_SKIP) && !defined(CONFIG_LV_CONF_IGONRE)
#if !defined(LV_CONF_SKIP) && !defined(CONFIG_LV_CONF_SKIP)
# if defined(LV_CONF_PATH) /*If there is a path defined for lv_conf.h use it*/
# define __LV_TO_STR_AUX(x) #x
# define __LV_TO_STR(x) __LV_TO_STR_AUX(x)
@ -1900,7 +1900,7 @@ e.g. "stm32f769xx.h" or "stm32f429xx.h" */
/*If running without lv_conf.h add typdesf with default value*/
#if !defined(LV_CONF_SKIP) && !defined(CONFIG_LV_CONF_IGONRE)
#if !defined(LV_CONF_SKIP) && !defined(CONFIG_LV_CONF_SKIP)
/* Type of coordinates. Should be `int16_t` (or `int32_t` for extreme cases) */
typedef int16_t lv_coord_t;