From a9e50ae822a5a69c6620860ec76bccab93363f17 Mon Sep 17 00:00:00 2001 From: Gabor Kiss-Vamosi Date: Tue, 16 Mar 2021 15:43:03 +0100 Subject: [PATCH] remove debug expressions --- src/lv_core/lv_refr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lv_core/lv_refr.c b/src/lv_core/lv_refr.c index a4bf6b138..034b6a1ef 100644 --- a/src/lv_core/lv_refr.c +++ b/src/lv_core/lv_refr.c @@ -241,7 +241,7 @@ void _lv_disp_refr_timer(lv_timer_t * tmr) lv_mem_buf_free_all(); _lv_font_clean_up_fmt_txt(); -#if 0 && LV_USE_PERF_MONITOR && LV_USE_LABEL +#if LV_USE_PERF_MONITOR && LV_USE_LABEL static lv_obj_t * perf_label = NULL; if(perf_label == NULL) { perf_label = lv_label_create(lv_layer_sys(), NULL); @@ -286,7 +286,7 @@ void _lv_disp_refr_timer(lv_timer_t * tmr) } #endif -#if 0 && LV_USE_MEM_MONITOR && LV_MEM_CUSTOM == 0 && LV_USE_LABEL +#if LV_USE_MEM_MONITOR && LV_MEM_CUSTOM == 0 && LV_USE_LABEL static lv_obj_t * mem_label = NULL; if(mem_label == NULL) { mem_label = lv_label_create(lv_layer_sys(), NULL);