From: Bartosz Golaszewski Date: Wed, 27 Mar 2019 13:47:21 +0000 (+0100) Subject: tests: document the freq argument in test_set_event() X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=78f8694da13405495276b97b688fe8fcee74677f;p=qemu-gpiodev%2Flibgpiod.git 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 --- 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);