mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-28 07:03:00 +08:00
fix(obj,layouts) remove warning spam
This commit is contained in:
parent
7bf547a928
commit
d7f6d006b1
@ -31,7 +31,7 @@ extern "C" {
|
|||||||
/**********************
|
/**********************
|
||||||
* MACROS
|
* MACROS
|
||||||
**********************/
|
**********************/
|
||||||
#if LV_LOG_TRACE_LAYOUT
|
#if LV_USE_LOG && LV_LOG_TRACE_LAYOUT
|
||||||
# define LV_TRACE_LAYOUT(...) LV_LOG_TRACE( __VA_ARGS__)
|
# define LV_TRACE_LAYOUT(...) LV_LOG_TRACE( __VA_ARGS__)
|
||||||
#else
|
#else
|
||||||
# define LV_TRACE_LAYOUT(...)
|
# define LV_TRACE_LAYOUT(...)
|
||||||
|
@ -525,7 +525,7 @@ bool lv_obj_is_valid(const lv_obj_t * obj);
|
|||||||
# define LV_ASSERT_OBJ(obj_p, obj_class) do{}while(0)
|
# define LV_ASSERT_OBJ(obj_p, obj_class) do{}while(0)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if LV_LOG_TRACE_OBJ_CREATE
|
#if LV_USE_LOG && LV_LOG_TRACE_OBJ_CREATE
|
||||||
# define LV_TRACE_OBJ_CREATE(...) LV_LOG_TRACE( __VA_ARGS__)
|
# define LV_TRACE_OBJ_CREATE(...) LV_LOG_TRACE( __VA_ARGS__)
|
||||||
#else
|
#else
|
||||||
# define LV_TRACE_OBJ_CREATE(...)
|
# define LV_TRACE_OBJ_CREATE(...)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user