1
0
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:
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 * 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(...)

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) # 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(...)