diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2006-12-31 22:49:16 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2006-12-31 22:49:16 +0000 |
commit | 14e67c85f9cac496dad3d4e77dfb5e40f4cd94b0 (patch) | |
tree | f3137c51f0321cb72a608ca7e2e6938da9bebd8f /hidio_linux.c | |
parent | 2a156b8e765ee64fc5b01f78fa6f6974593053c6 (diff) |
added latency measuring code on Darwin (to be removed once testing is done), and removed threading
svn path=/trunk/externals/io/hidio/; revision=7115
Diffstat (limited to 'hidio_linux.c')
-rw-r--r-- | hidio_linux.c | 7 |
1 files changed, 3 insertions, 4 deletions
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"); |