Skip to content

Commit ebde1ab

Browse files
authored
Merge pull request #7 from python-trio/add-request-bias-flags
Add line request bias flags
2 parents 928e442 + b9297a1 commit ebde1ab

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)