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

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
*********************/
#if USE_LV_FILESYSTEM
#ifdef LV_CONF_INCLUDE_SIMPLE
#include "lv_conf.h"
#else
#include "../../lv_conf.h"
#endif
#if USE_LV_FILESYSTEM
#include <stdint.h>
#include <stdbool.h>
#include "lv_mem.h"