wiringPi : interrupt error fix(gpio sysfs unexport).
Change-Id: I1e826b7847dc140fe0edf79ed56aaa19be5c543c
This commit is contained in:
@@ -535,6 +535,9 @@ void doEdge (int argc, char *argv [])
|
||||
char *mode ;
|
||||
char fName [128] ;
|
||||
|
||||
// Reset gpio sysfs
|
||||
doUnexport(3, argv);
|
||||
|
||||
if (argc != 4) {
|
||||
fprintf (stderr, "Usage: %s edge pin mode\n", argv [0]) ;
|
||||
exit (1) ;
|
||||
|
||||
Reference in New Issue
Block a user