bindings: cxx: tests: rename freq parameter to period_ms
authorKent Gibson <warthog618@gmail.com>
Wed, 14 Oct 2020 03:45:50 +0000 (11:45 +0800)
committerBartosz Golaszewski <bgolaszewski@baylibre.com>
Wed, 14 Oct 2020 07:43:47 +0000 (09:43 +0200)
commitdb552da19c22ef44731f79b470d17425bb9a83fd
tree6de1c51f95d3ff954c985ad05b1b0734aee5ed7b
parent12b2fe9f85cf81bf3818fdf42413f3e88b0e135b
bindings: cxx: tests: rename freq parameter to period_ms

The freq field of struct gpiod_test_event_thread is actually used as a
period measured in milliseconds, so rename it to period_ms in the struct
and wherever it is used as a function parameter.

Signed-off-by: Kent Gibson <warthog618@gmail.com>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
bindings/cxx/tests/gpio-mockup.cpp
bindings/cxx/tests/gpio-mockup.hpp
bindings/python/tests/gpiod_py_test.py
tests/gpiod-test.c
tests/gpiod-test.h