Skip to content

Commit b9297a1

Browse files
authored
Add line request bias flags
The GPIOD_LINE_REQUEST_FLAG_BIAS_* flags were added in libgpiod 1.5
1 parent 928e442 commit b9297a1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

asyncgpio/libgpiod.py

+3
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,9 @@
7676
GPIOD_LINE_REQUEST_FLAG_OPEN_DRAIN = 1,
7777
GPIOD_LINE_REQUEST_FLAG_OPEN_SOURCE = 2,
7878
GPIOD_LINE_REQUEST_FLAG_ACTIVE_LOW = 4,
79+
GPIOD_LINE_REQUEST_FLAG_BIAS_DISABLE = 8,
80+
GPIOD_LINE_REQUEST_FLAG_BIAS_PULL_DOWN = 16,
81+
GPIOD_LINE_REQUEST_FLAG_BIAS_PULL_UP = 32,
7982
};
8083
8184
enum {

0 commit comments

Comments
 (0)