From 1f8450b453e6460a6120d50eec0b636dd934ef74 Mon Sep 17 00:00:00 2001 From: Gabor Kiss-Vamosi Date: Thu, 10 Sep 2020 09:16:42 +0200 Subject: [PATCH] lv_conf_internal fixes --- scripts/lv_conf_checker.py | 2 +- src/lv_conf_internal.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/lv_conf_checker.py b/scripts/lv_conf_checker.py index c272146c8..58cff17c9 100755 --- a/scripts/lv_conf_checker.py +++ b/scripts/lv_conf_checker.py @@ -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_SKIP) +#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; diff --git a/src/lv_conf_internal.h b/src/lv_conf_internal.h index c8471f42b..5e6a9a15e 100644 --- a/src/lv_conf_internal.h +++ b/src/lv_conf_internal.h @@ -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_SKIP) +#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;