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).
This commit is contained in:
Alexander
2018-09-14 12:40:30 +03:00
parent 47dacc09ef
commit 91f4b8f504

View File

@@ -13,14 +13,14 @@ extern "C" {
/********************* /*********************
* INCLUDES * INCLUDES
*********************/ *********************/
#if USE_LV_FILESYSTEM
#ifdef LV_CONF_INCLUDE_SIMPLE #ifdef LV_CONF_INCLUDE_SIMPLE
#include "lv_conf.h" #include "lv_conf.h"
#else #else
#include "../../lv_conf.h" #include "../../lv_conf.h"
#endif #endif
#if USE_LV_FILESYSTEM
#include <stdint.h> #include <stdint.h>
#include <stdbool.h> #include <stdbool.h>
#include "lv_mem.h" #include "lv_mem.h"