linux: userspace GPIO control

Allow use host GPIO pins for non-realtime purposes.

Signed-off-by: Andrey Kunitsyn <blackicebox@gmail.com>
This commit is contained in:
andryblack authored and KevinOConnor committed 2020-05-17 22:17:15 -04:00
1 parent f0c394de81
commit 8fd330c54e
10 files changed
+187 -22

No files matched your search

+1 -1
View File
@@ -53,7 +53,7 @@ set_non_blocking(int fd)
return 0;
}
static int
int
set_close_on_exec(int fd)
{
int ret = fcntl(fd, F_SETFD, FD_CLOEXEC);