From 78f8694da13405495276b97b688fe8fcee74677f Mon Sep 17 00:00:00 2001 From: Bartosz Golaszewski Date: Wed, 27 Mar 2019 14:47:21 +0100 Subject: [PATCH] tests: document the freq argument in test_set_event() The freq argument is not documented and it's not clear what it means. Add a brief comment. Signed-off-by: Bartosz Golaszewski --- tests/gpiod-test.h | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/gpiod-test.h b/tests/gpiod-test.h index b97cd47..040d993 100644 --- a/tests/gpiod-test.h +++ b/tests/gpiod-test.h @@ -93,6 +93,7 @@ const char *test_chip_path(unsigned int index); const char *test_chip_name(unsigned int index); unsigned int test_chip_num(unsigned int index); +/* Last argument is the delay between line value switches in microseconds. */ void test_set_event(unsigned int chip_index, unsigned int line_offset, unsigned int freq); -- 2.30.2