diff options
author | Kent Gibson <warthog618@gmail.com> | 2020-05-27 09:10:55 +0800 |
---|---|---|
committer | Bartosz Golaszewski <bgolaszewski@baylibre.com> | 2020-05-27 14:05:59 +0200 |
commit | 2efb0075a7779fa61bfe01c40aa97f7d23a8e528 (patch) | |
tree | b4d9a2885aee127802e7f45e636d145f0170439b /include | |
parent | aa018a8c6e83ebea6618758e6ca77164c0e43481 (diff) | |
download | external_libgpiod-2efb0075a7779fa61bfe01c40aa97f7d23a8e528.tar.gz external_libgpiod-2efb0075a7779fa61bfe01c40aa97f7d23a8e528.tar.bz2 external_libgpiod-2efb0075a7779fa61bfe01c40aa97f7d23a8e528.zip |
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 <warthog618@gmail.com>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/gpiod.h | 4 |
1 files changed, 2 insertions, 2 deletions
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. */ }; /** |