From fe5663908c70b3df40e8d8b82b90c61b660b1eb1 Mon Sep 17 00:00:00 2001 From: pete-pjb Date: Mon, 15 Jun 2020 17:29:33 +0100 Subject: [PATCH] Fix unused variable --- src/lv_widgets/lv_chart.c | 3 +-- src/lv_widgets/lv_chart.h | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/lv_widgets/lv_chart.c b/src/lv_widgets/lv_chart.c index f3e82b4cd..cdea00cc2 100644 --- a/src/lv_widgets/lv_chart.c +++ b/src/lv_widgets/lv_chart.c @@ -631,11 +631,10 @@ uint16_t lv_chart_get_point_count(const lv_obj_t * chart) /** * Get the current index of the x-axis start point in the data array - * @param chart pointer to a chart object * @param ser pointer to a data series on 'chart' * @return the index of the current x start point in the data array */ -uint16_t lv_chart_get_x_start_point(lv_obj_t * chart, lv_chart_series_t * ser) +uint16_t lv_chart_get_x_start_point(lv_chart_series_t * ser) { LV_ASSERT_OBJ(chart, LV_OBJX_NAME); LV_ASSERT_NULL(ser); diff --git a/src/lv_widgets/lv_chart.h b/src/lv_widgets/lv_chart.h index c1ff2b524..85e66afe1 100644 --- a/src/lv_widgets/lv_chart.h +++ b/src/lv_widgets/lv_chart.h @@ -307,11 +307,10 @@ uint16_t lv_chart_get_point_count(const lv_obj_t * chart); /** * get the current index of the x-axis start point in the data array - * @param chart pointer to a chart object * @param ser pointer to a data series on 'chart' * @return the index of the current x start point in the data array */ -uint16_t lv_chart_get_x_start_point(lv_obj_t * chart, lv_chart_series_t * ser); +uint16_t lv_chart_get_x_start_point(lv_chart_series_t * ser); /** * Get an individual point value in the chart series directly based on index