Skip to content

Commit

Permalink
ensure that report id is set to 0
Browse files Browse the repository at this point in the history
  • Loading branch information
Marije Baalman committed Oct 6, 2013
1 parent e56552a commit 1050f77
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hidapi_parser/hidapi_parser.c
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@
struct hid_device_element * hid_new_element(){
struct hid_device_element * element = (struct hid_device_element *) malloc( sizeof( struct hid_device_element ) );
element->next = NULL;
element->report_id = 0;
return element;
}

Expand Down

0 comments on commit 1050f77

Please sign in to comment.