From 91f4b8f504d6e7ffef7e80c2681be32db14a5d61 Mon Sep 17 00:00:00 2001 From: Alexander Date: Fri, 14 Sep 2018 12:40:30 +0300 Subject: [PATCH] Fixing lv_conf.h file include order - it must come first, because it contains global defines governing which features will be used, (and in particular - whether the .h file where lv_conf is included will be used at all). --- lv_misc/lv_fs.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lv_misc/lv_fs.h b/lv_misc/lv_fs.h index e41946e7a..2662abf84 100644 --- a/lv_misc/lv_fs.h +++ b/lv_misc/lv_fs.h @@ -13,14 +13,14 @@ extern "C" { /********************* * INCLUDES *********************/ -#if USE_LV_FILESYSTEM - #ifdef LV_CONF_INCLUDE_SIMPLE #include "lv_conf.h" #else #include "../../lv_conf.h" #endif +#if USE_LV_FILESYSTEM + #include #include #include "lv_mem.h"