diff options
author | Bartosz Golaszewski <bartekgola@gmail.com> | 2017-11-17 17:49:37 +0100 |
---|---|---|
committer | Bartosz Golaszewski <bartekgola@gmail.com> | 2017-11-17 17:51:45 +0100 |
commit | 57ecc14c4d7f6408062403484f800f78c0dda25c (patch) | |
tree | 35deca3bb7112d9b314553656380e4442e8dae9e /include | |
parent | 48c0caf08a204ab3774a98f74249a667f20e8807 (diff) | |
download | external_libgpiod-57ecc14c4d7f6408062403484f800f78c0dda25c.tar.gz external_libgpiod-57ecc14c4d7f6408062403484f800f78c0dda25c.tar.bz2 external_libgpiod-57ecc14c4d7f6408062403484f800f78c0dda25c.zip |
core: change the prefix for line request flags
Make it clear that these are flags and that more than one can be used
simultaneously.
Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/gpiod.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/gpiod.h b/include/gpiod.h index 747a226..bef018f 100644 --- a/include/gpiod.h +++ b/include/gpiod.h @@ -664,11 +664,11 @@ enum { * @brief Miscellaneous GPIO request flags. */ enum { - GPIOD_LINE_REQUEST_OPEN_DRAIN = GPIOD_BIT(0), + GPIOD_LINE_REQUEST_FLAG_OPEN_DRAIN = GPIOD_BIT(0), /**< The line is an open-drain port. */ - GPIOD_LINE_REQUEST_OPEN_SOURCE = GPIOD_BIT(1), + GPIOD_LINE_REQUEST_FLAG_OPEN_SOURCE = GPIOD_BIT(1), /**< The line is an open-source port. */ - GPIOD_LINE_REQUEST_ACTIVE_LOW = GPIOD_BIT(2), + GPIOD_LINE_REQUEST_FLAG_ACTIVE_LOW = GPIOD_BIT(2), /**< The active state of the line is low (high is the default). */ }; |