1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-14 06:42:58 +08:00

Fix unused variable

This commit is contained in:
pete-pjb 2020-06-15 17:29:33 +01:00
parent f23873e3f5
commit fe5663908c
2 changed files with 2 additions and 4 deletions

View File

@ -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);

View File

@ -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