From 2efb0075a7779fa61bfe01c40aa97f7d23a8e528 Mon Sep 17 00:00:00 2001 From: Kent Gibson Date: Wed, 27 May 2020 09:10:55 +0800 Subject: doc: fix comment mix up in gpiod.h A couple of the doc comments for GPIOD_LINE_REQUEST_XX values document the wrong value. Switch them so that they document the appropriate value. Signed-off-by: Kent Gibson Signed-off-by: Bartosz Golaszewski --- include/gpiod.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/gpiod.h b/include/gpiod.h index 3af97c4..f03ce95 100644 --- a/include/gpiod.h +++ b/include/gpiod.h @@ -956,11 +956,11 @@ enum { GPIOD_LINE_REQUEST_DIRECTION_OUTPUT, /**< Request the line(s) for setting the GPIO line state. */ GPIOD_LINE_REQUEST_EVENT_FALLING_EDGE, - /**< Monitor both types of events. */ + /**< Only watch falling edge events. */ GPIOD_LINE_REQUEST_EVENT_RISING_EDGE, /**< Only watch rising edge events. */ GPIOD_LINE_REQUEST_EVENT_BOTH_EDGES, - /**< Only watch falling edge events. */ + /**< Monitor both types of events. */ }; /** -- cgit v1.2.3