From d9ad45313c4fc8722f8121c82db0231f52fc7183 Mon Sep 17 00:00:00 2001 From: Themba Dube Date: Thu, 26 Dec 2019 11:56:06 -0500 Subject: [PATCH] Support LV_CONF_INCLUDE_SIMPLE for backwards compatibility --- src/lv_conf_internal.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/lv_conf_internal.h b/src/lv_conf_internal.h index 5de614627..7e134d932 100644 --- a/src/lv_conf_internal.h +++ b/src/lv_conf_internal.h @@ -10,12 +10,14 @@ #include -#ifdef LV_CONF_PATH +#if defined(LV_CONF_PATH) #define __LV_TO_STR_AUX(x) #x #define __LV_TO_STR(x) __LV_TO_STR_AUX(x) #include __LV_TO_STR(LV_CONF_PATH) #undef __LV_TO_STR_AUX #undef __LV_TO_STR +#elif defined(LV_CONF_INCLUDE_SIMPLE) +#include "lv_conf.h" #else #include "../../lv_conf.h" #endif