From 14e67c85f9cac496dad3d4e77dfb5e40f4cd94b0 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Sun, 31 Dec 2006 22:49:16 +0000 Subject: added latency measuring code on Darwin (to be removed once testing is done), and removed threading svn path=/trunk/externals/io/hidio/; revision=7115 --- hidio_linux.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'hidio_linux.c') diff --git a/hidio_linux.c b/hidio_linux.c index 7da4ff9..d352aea 100644 --- a/hidio_linux.c +++ b/hidio_linux.c @@ -434,7 +434,7 @@ void hidio_print(t_hidio* x) hidio_print_element_list(x); } - +// TODO: return the same as POSIX open()/close() - 0=success, -1=fail t_int hidio_open_device(t_hidio *x, short device_number) { debug_print(LOG_DEBUG,"hidio_open_device"); @@ -477,9 +477,8 @@ t_int hidio_open_device(t_hidio *x, short device_number) return (0); } -/* - * Under GNU/Linux, the device is a filehandle - */ +/* Under GNU/Linux, the device is a filehandle */ +// TODO: return the same as POSIX open()/close() - 0=success, -1=fail t_int hidio_close_device(t_hidio *x) { debug_print(LOG_DEBUG,"hidio_close_device"); -- cgit v1.2.1