give linux some time to remove old sysfs gpio mapping

This commit is contained in:
William Clark 2024-01-01 12:05:17 +00:00
parent 1a54ce4e5e
commit a96c0a9466

View File

@ -84,6 +84,8 @@ int int_unregister(int pin) {
return 1; return 1;
} }
usleep(50000); /* sleep 50 ms */
return 0; return 0;
} }