fix(printf) add (int) casts to log messages to avoid warnings on %d

This commit is contained in:
Gabor Kiss-Vamosi
2021-11-03 11:52:56 +01:00
parent 63ff80192b
commit d9d3f27126
10 changed files with 13 additions and 13 deletions

View File

@@ -18,7 +18,7 @@ static void event_cb(lv_event_t * e)
int32_t id = lv_chart_get_pressed_point(chart);
if(id == LV_CHART_POINT_NONE) return;
LV_LOG_USER("Selected point %d", id);
LV_LOG_USER("Selected point %d", (int)id);
lv_chart_series_t * ser = lv_chart_get_series_next(chart, NULL);
while(ser) {