Update of /cvsroot/pure-data/externals/hcs/hid In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16201
Modified Files: Makefile hid.c Log Message: got rid of some minor warnings
Index: Makefile =================================================================== RCS file: /cvsroot/pure-data/externals/hcs/hid/Makefile,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** Makefile 23 Oct 2004 03:40:39 -0000 1.5 --- Makefile 20 May 2005 19:58:05 -0000 1.6 *************** *** 27,37 **** endif
! # ----------------------- GENERAL -----------------------
PDEXECUTABLE = ../../../pd/bin/pd
CFLAGS = -DUNIX -DPD -O2 -funroll-loops -fomit-frame-pointer \ ! -Wall -W -Wshadow -Wstrict-prototypes \ ! -Wno-unused -Wno-parentheses -Wno-switch
INCLUDE = -I./ -I../../../pd/src -I./HID\ Utilities\ Source --- 27,36 ---- endif
! # ----------------------- GENERAL ---------------------------------------------
PDEXECUTABLE = ../../../pd/bin/pd
CFLAGS = -DUNIX -DPD -O2 -funroll-loops -fomit-frame-pointer \ ! -Wall -W -Wshadow -Wstrict-prototypes -Wno-unused
INCLUDE = -I./ -I../../../pd/src -I./HID\ Utilities\ Source
Index: hid.c =================================================================== RCS file: /cvsroot/pure-data/externals/hcs/hid/hid.c,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** hid.c 28 Apr 2005 04:29:58 -0000 1.16 --- hid.c 20 May 2005 19:58:05 -0000 1.17 *************** *** 141,144 **** --- 141,145 ---- * send a [close( msg, then an [open( msg. */ if (! x->x_device_open) + { if (hid_open_device(x,x->x_device_number)) { *************** *** 150,153 **** --- 151,156 ---- x->x_device_open = 1; } + } +
/* restore the polling state so that when I [tgl] is used to start/stop [hid],