projects
/
project
/
usbmode.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add support for remaining device modes
[project/usbmode.git]
/
switch.h
diff --git
a/switch.h
b/switch.h
index 441e6a3ac559f5e93b04964932ba59eb934f8fd9..246a29a519df31164c758767d96224c8f3983f90 100644
(file)
--- a/
switch.h
+++ b/
switch.h
@@
-22,6
+22,7
@@
struct usbdev_data {
extern char **messages;
extern int *message_len;
extern int n_messages;
+extern struct libusb_context *usb;
void handle_switch(struct usbdev_data *data);