summaryrefslogtreecommitdiff
path: root/src/charts.h
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2024-09-29 12:50:28 -0700
committerVito Caputo <vcaputo@pengaru.com>2024-09-29 12:50:28 -0700
commit9b23315e169c390b4a2fbab290ae8196e3929cd8 (patch)
tree32c7efb2067349220399167933aa385073f1f609 /src/charts.h
parent2e437967eaee5ec4359bfada18a5c9bbedacb305 (diff)
charts: clarify timeout units as microseconds
This API is targeting poll() usage which implies microseconds, but let's better clarify it in naming.
Diffstat (limited to 'src/charts.h')
-rw-r--r--src/charts.h2
1 files changed, 1 insertions, 1 deletions
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);
© All Rights Reserved