fix(gridnav): fix warning when logging is disabled (#5395)
This commit is contained in:
committed by
GitHub
parent
481d867cc3
commit
7c1cb04dee
@@ -5,6 +5,7 @@ static void event_handler(lv_event_t * e)
|
||||
{
|
||||
lv_obj_t * obj = lv_event_get_target(e);
|
||||
lv_obj_t * list = lv_obj_get_parent(obj);
|
||||
LV_UNUSED(list); /*If logging is disabled*/
|
||||
LV_LOG_USER("Clicked: %s", lv_list_get_button_text(list, obj));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user