1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-28 07:03:00 +08:00

chore(chart): fix warning

This commit is contained in:
Gabor Kiss-Vamosi 2023-09-21 19:50:27 +02:00
parent 92114367e4
commit 202599040d

View File

@ -277,7 +277,7 @@ void lv_chart_get_point_pos_by_id(lv_obj_t * obj, lv_chart_series_t * ser, uint3
lv_chart_t * chart = (lv_chart_t *)obj;
if(id >= chart->point_cnt) {
LV_LOG_WARN("Invalid index: %d", id);
LV_LOG_WARN("Invalid index: %"LV_PRIu32, id);
p_out->x = 0;
p_out->y = 0;
return;