usbshm: increase thread safty
This commit is contained in:
parent
e1d8cb24cb
commit
7be8bf92d4
2 changed files with 29 additions and 9 deletions
1
usbshm.h
1
usbshm.h
|
|
@ -45,6 +45,7 @@ struct usbshm {
|
|||
struct usbshm_priv* priv;
|
||||
int vendorID;
|
||||
int productID;
|
||||
unsigned char* serial;
|
||||
void* user_data;
|
||||
void (*dataCallback)(uint8_t request, unsigned char* data, size_t length, void* user_data);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue