aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBartosz Golaszewski <bgolaszewski@baylibre.com>2019-03-27 14:47:21 +0100
committerBartosz Golaszewski <bgolaszewski@baylibre.com>2019-04-23 11:47:07 +0200
commit78f8694da13405495276b97b688fe8fcee74677f (patch)
tree9cf2136e205c04da5efd4c0d1e961bfa945fd1ba
parentc30f01dc0c62d29370623daf15ac1e2a33b652a6 (diff)
downloadlibgpiod-78f8694da13405495276b97b688fe8fcee74677f.tar.gz
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 <bgolaszewski@baylibre.com>
-rw-r--r--tests/gpiod-test.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/gpiod-test.h b/tests/gpiod-test.h
index b97cd476..040d993f 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);