give linux some time to remove old sysfs gpio mapping
This commit is contained in:
parent
1a54ce4e5e
commit
a96c0a9466
@ -84,6 +84,8 @@ int int_unregister(int pin) {
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
usleep(50000); /* sleep 50 ms */
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user