aboutsummaryrefslogtreecommitdiff
path: root/hid.c
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-09-22 05:05:51 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-09-22 05:05:51 +0000
commit2edc4c4bc4f675566a4d3a640310988659654b9e (patch)
treea602e9062f42c47af23b39bbbb14f35348de71eb /hid.c
parent8a08779940c0e5d7328813406713c241de23c35b (diff)
fixed pointer bug that was preventing proper creation of the element array. Now it outputs data properly on Linux
svn path=/trunk/externals/hcs/hid/; revision=5998
Diffstat (limited to 'hid.c')
-rw-r--r--hid.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/hid.c b/hid.c
index 4cc120f..5711ea3 100644
--- a/hid.c
+++ b/hid.c
@@ -35,8 +35,8 @@
* LOCAL DEFINES
*/
-//#define DEBUG(x)
-#define DEBUG(x) x
+#define DEBUG(x)
+//#define DEBUG(x) x
unsigned short global_debug_level = 0;
@@ -224,7 +224,7 @@ void hid_output_event(t_hid *x, t_hid_element *output_data)
SETFLOAT(event_data + 2, output_data->value);
outlet_anything(x->x_data_outlet,output_data->type,3,event_data);
#endif
- }
+ }
}