From 2041d458f6e4aab7f6c9150bcaf36ce02d8194c8 Mon Sep 17 00:00:00 2001 From: "terry.rong" Date: Thu, 28 Dec 2023 12:16:48 +0800 Subject: [PATCH] fix(vg_lite): fix compile error in LOG INFO level (#5112) Signed-off-by: rongyichang --- src/draw/vg_lite/lv_vg_lite_decoder.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/draw/vg_lite/lv_vg_lite_decoder.c b/src/draw/vg_lite/lv_vg_lite_decoder.c index 427c27019..e79d29078 100644 --- a/src/draw/vg_lite/lv_vg_lite_decoder.c +++ b/src/draw/vg_lite/lv_vg_lite_decoder.c @@ -262,8 +262,8 @@ static lv_result_t decoder_open_variable(lv_image_decoder_t * decoder, lv_image_ /* invalidate D-Cache */ image_invalidate_cache(draw_buf->data, stride, width, height, cf); - LV_LOG_INFO("image %p (W%" LV_PRId32 " x H%" LV_PRId32 ", buffer: %p, cf: %d) decode finish %" LV_PRIu32 "ms", - image_data, width, height, image_buf, cf, cache->weight); + LV_LOG_INFO("image %p (W%" LV_PRId32 " x H%" LV_PRId32 ", buffer: %p, cf: %d) decode finish", + image_data, width, height, draw_buf->data, cf); return LV_RESULT_OK; } @@ -356,8 +356,8 @@ static lv_result_t decoder_open_file(lv_image_decoder_t * decoder, lv_image_deco /* invalidate D-Cache */ image_invalidate_cache(draw_buf->data, stride, width, height, cf); - LV_LOG_INFO("image %s (W%" LV_PRId32 " x H%" LV_PRId32 ", buffer: %p cf: %d) decode finish %" LV_PRIu32 "ms", - path, width, height, draw_buf->data, cf, cache->weight); + LV_LOG_INFO("image %s (W%" LV_PRId32 " x H%" LV_PRId32 ", buffer: %p cf: %d) decode finish", + path, width, height, draw_buf->data, cf); return LV_RESULT_OK; failed: