aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKent Gibson <warthog618@gmail.com>2024-03-25 19:17:17 +0800
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>2024-03-25 14:26:48 +0100
commit02e05a134f3c720cb3adcc2aa10e7478dc00f72f (patch)
treea63c0d6d70e74f18e3735b964a42363fa0bc1ec3
parentb10af6b0173e647b54834edff087a5811b6bcfe1 (diff)
downloadlibgpiod-02e05a134f3c720cb3adcc2aa10e7478dc00f72f.tar.gz
treewide: fix spelling of "immediately".
"immediately" is incorrectly spelled "immediatelly" in several places, so replace with correct spelling. Signed-off-by: Kent Gibson <warthog618@gmail.com> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
-rw-r--r--bindings/cxx/gpiodcxx/chip.hpp2
-rw-r--r--bindings/cxx/gpiodcxx/line-request.hpp2
-rw-r--r--include/gpiod.h4
3 files changed, 4 insertions, 4 deletions
diff --git a/bindings/cxx/gpiodcxx/chip.hpp b/bindings/cxx/gpiodcxx/chip.hpp
index e8b3c0f3..297db3db 100644
--- a/bindings/cxx/gpiodcxx/chip.hpp
+++ b/bindings/cxx/gpiodcxx/chip.hpp
@@ -126,7 +126,7 @@ public:
* @brief Wait for line status events on any of the watched lines
* exposed by this chip.
* @param timeout Wait time limit in nanoseconds. If set to 0, the
- * function returns immediatelly. If set to a negative
+ * function returns immediately. If set to a negative
* number, the function blocks indefinitely until an
* event becomes available.
* @return True if at least one event is ready to be read. False if the
diff --git a/bindings/cxx/gpiodcxx/line-request.hpp b/bindings/cxx/gpiodcxx/line-request.hpp
index 8c1b4743..0a47a76c 100644
--- a/bindings/cxx/gpiodcxx/line-request.hpp
+++ b/bindings/cxx/gpiodcxx/line-request.hpp
@@ -183,7 +183,7 @@ public:
* @brief Wait for edge events on any of the lines requested with edge
* detection enabled.
* @param timeout Wait time limit in nanoseconds. If set to 0, the
- * function returns immediatelly. If set to a negative
+ * function returns immediately. If set to a negative
* number, the function blocks indefinitely until an
* event becomes available.
* @return True if at least one event is ready to be read. False if the
diff --git a/include/gpiod.h b/include/gpiod.h
index d86c6acf..cacf97aa 100644
--- a/include/gpiod.h
+++ b/include/gpiod.h
@@ -246,7 +246,7 @@ int gpiod_chip_get_fd(struct gpiod_chip *chip);
* on the chip.
* @param chip GPIO chip object.
* @param timeout_ns Wait time limit in nanoseconds. If set to 0, the function
- * returns immediatelly. If set to a negative number, the
+ * returns immediately. If set to a negative number, the
* function blocks indefinitely until an event becomes
* available.
* @return 0 if wait timed out, -1 if an error occurred, 1 if an event is
@@ -1164,7 +1164,7 @@ int gpiod_line_request_get_fd(struct gpiod_line_request *request);
* @brief Wait for edge events on any of the requested lines.
* @param request GPIO line request.
* @param timeout_ns Wait time limit in nanoseconds. If set to 0, the function
- * returns immediatelly. If set to a negative number, the
+ * returns immediately. If set to a negative number, the
* function blocks indefinitely until an event becomes
* available.
* @return 0 if wait timed out, -1 if an error occurred, 1 if an event is