1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-14 06:42:58 +08:00

fix(obj,layouts) remove warning spam

This commit is contained in:
Themba Dube 2021-03-10 20:54:13 -05:00
parent 7bf547a928
commit d7f6d006b1
2 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@ extern "C" {
/**********************
* MACROS
**********************/
#if LV_LOG_TRACE_LAYOUT
#if LV_USE_LOG && LV_LOG_TRACE_LAYOUT
# define LV_TRACE_LAYOUT(...) LV_LOG_TRACE( __VA_ARGS__)
#else
# define LV_TRACE_LAYOUT(...)

View File

@ -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)
#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__)
#else
# define LV_TRACE_OBJ_CREATE(...)