From 9b23315e169c390b4a2fbab290ae8196e3929cd8 Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Sun, 29 Sep 2024 12:50:28 -0700 Subject: charts: clarify timeout units as microseconds This API is targeting poll() usage which implies microseconds, but let's better clarify it in naming. --- src/charts.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/charts.h') diff --git a/src/charts.h b/src/charts.h index c6bf88f..e175d18 100644 --- a/src/charts.h +++ b/src/charts.h @@ -18,7 +18,7 @@ void vwm_charts_destroy(vwm_charts_t *charts); void vwm_charts_rate_increase(vwm_charts_t *charts); void vwm_charts_rate_decrease(vwm_charts_t *charts); void vwm_charts_rate_set(vwm_charts_t *charts, unsigned hertz); -int vwm_charts_update(vwm_charts_t *charts, int *desired_delay); +int vwm_charts_update(vwm_charts_t *charts, int *desired_delay_us); vwm_chart_t * vwm_chart_create(vwm_charts_t *charts, int pid, int width, int height, const char *name); void vwm_chart_destroy(vwm_charts_t *charts, vwm_chart_t *chart); -- cgit v1.2.3