From 33260fba35935d556e6b4e154d96f5abe0f1f4a2 Mon Sep 17 00:00:00 2001 From: Gabor Kiss-Vamosi Date: Mon, 5 Feb 2024 10:34:33 +0100 Subject: [PATCH] fix(sysmon): fix build error when LV_USE_PERF_MONITOR_LOG_MODE is enabled (#5597) --- src/others/sysmon/lv_sysmon.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/others/sysmon/lv_sysmon.c b/src/others/sysmon/lv_sysmon.c index 609efc122..5dc239174 100644 --- a/src/others/sysmon/lv_sysmon.c +++ b/src/others/sysmon/lv_sysmon.c @@ -216,10 +216,10 @@ static void perf_observer_cb(lv_observer_t * observer, lv_subject_t * subject) #if LV_USE_PERF_MONITOR_LOG_MODE LV_UNUSED(label); LV_LOG("sysmon: " - "%" LV_PRIu32 " FPS (refr_cnt: %" LV_PRIu32 " | redraw_cnt: %" LV_PRIu32 " | flush_cnt: %" LV_PRIu32 "), " + "%" LV_PRIu32 " FPS (refr_cnt: %" LV_PRIu32 " | redraw_cnt: %" LV_PRIu32"), " "refr %" LV_PRIu32 "ms (render %" LV_PRIu32 "ms | flush %" LV_PRIu32 "ms), " "CPU %" LV_PRIu32 "%%\n", - perf->calculated.fps, perf->measured.refr_cnt, perf->measured.render_cnt, perf->measured.flush_cnt, + perf->calculated.fps, perf->measured.refr_cnt, perf->measured.render_cnt, perf->calculated.refr_avg_time, perf->calculated.render_avg_time, perf->calculated.flush_avg_time, perf->calculated.cpu); #else