mirror of
https://github.com/lvgl/lvgl.git
synced 2026-08-17 09:42:19 +08:00
fix(include): include api mapping headers after other includes (#10247)
Signed-off-by: Alain Volmat <alain.volmat@foss.st.com> Co-authored-by: Alain Volmat <alain.volmat@foss.st.com>
This commit is contained in:
co-authored by
Alain Volmat
parent
f7a72462be
commit
04d8f1dc6d
+12
-12
@@ -8,18 +8,6 @@
|
||||
#include "3d/lv_gltf_model_loader.h"
|
||||
#include "3d/lv_gltf_model_node.h"
|
||||
|
||||
/* Define LV_DISABLE_API_MAPPING using a compiler option
|
||||
* to make sure your application is not using deprecated names */
|
||||
#ifndef LV_DISABLE_API_MAPPING
|
||||
#include "api_map/lv_api_map_v8.h"
|
||||
#include "api_map/lv_api_map_v9_0.h"
|
||||
#include "api_map/lv_api_map_v9_1.h"
|
||||
#include "api_map/lv_api_map_v9_2.h"
|
||||
#include "api_map/lv_api_map_v9_3.h"
|
||||
#include "api_map/lv_api_map_v9_4.h"
|
||||
#include "api_map/lv_api_map_v9_5.h"
|
||||
#endif /*LV_DISABLE_API_MAPPING*/
|
||||
|
||||
#include "config/lv_conf_internal.h"
|
||||
#include "config/lv_conf_kconfig.h"
|
||||
#include "core/lv_anim.h"
|
||||
@@ -222,6 +210,18 @@
|
||||
#include "widgets/lv_tileview.h"
|
||||
#include "widgets/lv_win.h"
|
||||
|
||||
/* Define LV_DISABLE_API_MAPPING using a compiler option
|
||||
* to make sure your application is not using deprecated names */
|
||||
#ifndef LV_DISABLE_API_MAPPING
|
||||
#include "api_map/lv_api_map_v8.h"
|
||||
#include "api_map/lv_api_map_v9_0.h"
|
||||
#include "api_map/lv_api_map_v9_1.h"
|
||||
#include "api_map/lv_api_map_v9_2.h"
|
||||
#include "api_map/lv_api_map_v9_3.h"
|
||||
#include "api_map/lv_api_map_v9_4.h"
|
||||
#include "api_map/lv_api_map_v9_5.h"
|
||||
#endif /*LV_DISABLE_API_MAPPING*/
|
||||
|
||||
/** Gives 1 if the x.y.z version is supported in the current version
|
||||
* Usage:
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user