Skip to content

export: fix active_low operation when using direction high/low #27

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 28, 2019

Conversation

posborne
Copy link
Member

Previously, we set the pin direction from the config on the pin after
we set the direction. When high/low were used to specify an output with
an initial state this leads to the logic on export being inverted from
subsequent operations.

Fixes #26

Previously, we set the pin direction from the config on the pin after
we set the direction.  When high/low were used to specify an output with
an initial state this leads to the logic on export being inverted from
subsequent operations.

Fixes rust-embedded#26

Signed-off-by: Paul Osborne <osbpau@gmail.com>
@posborne posborne requested a review from nastevens January 28, 2019 16:45
@posborne posborne merged commit e069bca into rust-embedded:master Jan 28, 2019
@posborne posborne deleted the fix-active-low-ordering branch January 28, 2019 19:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants