place some lv_log_add calls

This commit is contained in:
Gabor Kiss-Vamosi
2018-07-25 17:57:08 +02:00
parent 2d8b3b2b6e
commit 69434c8b7d
39 changed files with 354 additions and 29 deletions
+8
View File
@@ -53,6 +53,11 @@ static lv_design_func_t ancestor_design;
*/
lv_obj_t * lv_templ_create(lv_obj_t * par, lv_obj_t * copy)
{
#if USE_LV_LOG
lv_log_add(LV_LOG_LEVEL_TRACE, __FILE__, __LINE__, "template create stared");
#endif
/*Create the ancestor of template*/
/*TODO modify it to the ancestor create function */
lv_obj_t * new_templ = lv_ANCESTOR_create(par, copy);
@@ -82,6 +87,9 @@ lv_obj_t * lv_templ_create(lv_obj_t * par, lv_obj_t * copy)
/*Refresh the style with new signal function*/
lv_obj_refresh_style(new_templ);
}
#if USE_LV_LOG
lv_log_add(LV_LOG_LEVEL_INFO, __FILE__, __LINE__, "template create ready");
#endif
return new_templ;
}