projects
/
project
/
usbmode.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
store message lengths
[project/usbmode.git]
/
switch.h
diff --git
a/switch.h
b/switch.h
index
ab09f11
..
1c964db
100644
(file)
--- a/
switch.h
+++ b/
switch.h
@@
-12,12
+12,14
@@
struct usbdev_data {
int interface;
int msg_endpoint;
int response_endpoint;
int interface;
int msg_endpoint;
int response_endpoint;
+ bool need_response;
char idstr[10];
char mfg[128], prod[128], serial[128];
};
extern struct blob_attr **messages;
char idstr[10];
char mfg[128], prod[128], serial[128];
};
extern struct blob_attr **messages;
+extern int *message_len;
extern int n_messages;
void handle_switch(struct usbdev_data *data);
extern int n_messages;
void handle_switch(struct usbdev_data *data);