chore(demo/indev): fix warning (#3583)

* chore(demo/indev): fix warning

Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>

* fix 'Micropython CI / Build rp2 port' warning

Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
This commit is contained in:
_VIFEXTech
2022-08-17 18:32:51 +08:00
committed by GitHub
parent b08bc4c775
commit 1de64ade88
2 changed files with 9 additions and 8 deletions

View File

@@ -225,7 +225,7 @@ static void auto_step_cb(lv_timer_t * t)
lv_obj_t * num = lv_label_create(bg);
lv_obj_set_style_text_font(num, font_large, 0);
#if LV_USE_PERF_MONITOR
lv_label_set_text_fmt(num, "%d", lv_refr_get_fps_avg());
lv_label_set_text_fmt(num, "%" LV_PRIu32, lv_refr_get_fps_avg());
#endif
lv_obj_align(num, LV_ALIGN_TOP_MID, 0, 120);