forked from google/periph
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sysfs: work in the case where export fails when already exported (goo…
…gle#401) It seems that trying to export a GPIO when it's already exported may fail on a BeagleBone. Try to open the GPIO if it is present, instead of always trying to export. Redo the error management when opening a pin.
- Loading branch information
Showing
1 changed file
with
23 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters