From b5b0c26c621ecae1f53c10394e1214bb15881f71 Mon Sep 17 00:00:00 2001 From: dnalor <26877697+dnalor@users.noreply.github.com> Date: Thu, 6 Dec 2018 17:52:24 +0100 Subject: [PATCH] shmem input added --- input/shmem.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/input/shmem.c b/input/shmem.c index 6dec8d2..ffaeacd 100644 --- a/input/shmem.c +++ b/input/shmem.c @@ -39,12 +39,6 @@ void* input_shmem(void* data) vis_t *mmap_area; int fd; /* file descriptor to mmaped area */ int mmap_count = sizeof( vis_t); - /* - struct timespec req = { .tv_sec = 0, .tv_nsec = 10000000 }; - int16_t buf[BUFSIZE / 2]; - int bytes = 0; - int t = 0; - */ int n = 0; int i;