From 3599d34aee01c5ae7689b8c92cee5cafd47b49d1 Mon Sep 17 00:00:00 2001 From: Gasper Zejn Date: Fri, 23 Feb 2018 14:51:19 +0100 Subject: [PATCH] doc: C API documentation fixes Fix a couple problems in doxygen documentation of the C API. (Unfortunately no Signed-off-by tag from the submitter...) [Bartosz: added a proper commit message] Signed-off-by: Bartosz Golaszewski --- include/gpiod.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/gpiod.h b/include/gpiod.h index ccff977..0181a3d 100644 --- a/include/gpiod.h +++ b/include/gpiod.h @@ -190,7 +190,7 @@ enum { }; /** - * @brief Simple event callack signature. + * @brief Simple event callback signature. * * The callback function takes the following arguments: event type (int), * GPIO line offset (unsigned int), event timestamp (const struct timespec *) @@ -686,14 +686,14 @@ const char *gpiod_line_consumer(struct gpiod_line *line) GPIOD_API; /** * @brief Read the GPIO line direction setting. * @param line GPIO line object. - * @return Returns GPIOD_DIRECTION_INPUT or GPIOD_DIRECTION_OUTPUT. + * @return Returns GPIOD_LINE_DIRECTION_INPUT or GPIOD_LINE_DIRECTION_OUTPUT. */ int gpiod_line_direction(struct gpiod_line *line) GPIOD_API; /** * @brief Read the GPIO line active state setting. * @param line GPIO line object. - * @return Returns GPIOD_ACTIVE_STATE_HIGH or GPIOD_ACTIVE_STATE_LOW. + * @return Returns GPIOD_LINE_ACTIVE_STATE_HIGH or GPIOD_LINE_ACTIVE_STATE_LOW. */ int gpiod_line_active_state(struct gpiod_line *line) GPIOD_API; -- 2.30.2