Skip to content

Commit

Permalink
Merge pull request #7 from python-trio/add-request-bias-flags
Browse files Browse the repository at this point in the history
Add line request bias flags
  • Loading branch information
smurfix authored Mar 14, 2021
2 parents 928e442 + b9297a1 commit ebde1ab
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions asyncgpio/libgpiod.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@
GPIOD_LINE_REQUEST_FLAG_OPEN_DRAIN = 1,
GPIOD_LINE_REQUEST_FLAG_OPEN_SOURCE = 2,
GPIOD_LINE_REQUEST_FLAG_ACTIVE_LOW = 4,
GPIOD_LINE_REQUEST_FLAG_BIAS_DISABLE = 8,
GPIOD_LINE_REQUEST_FLAG_BIAS_PULL_DOWN = 16,
GPIOD_LINE_REQUEST_FLAG_BIAS_PULL_UP = 32,
};
enum {
Expand Down

0 comments on commit ebde1ab

Please sign in to comment.