projects
/
libam7xxx.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb9778a
)
am7xxx-modeswitch: reorder declarations of variables
author
Antonio Ospite <ao2@ao2.it>
Wed, 10 Jun 2015 10:22:57 +0000
(12:22 +0200)
committer
Antonio Ospite <ao2@ao2.it>
Wed, 10 Jun 2015 13:17:49 +0000
(15:17 +0200)
examples/am7xxx-modeswitch.c
patch
|
blob
|
history
diff --git
a/examples/am7xxx-modeswitch.c
b/examples/am7xxx-modeswitch.c
index
475ff4b
..
b431084
100644
(file)
--- a/
examples/am7xxx-modeswitch.c
+++ b/
examples/am7xxx-modeswitch.c
@@
-34,10
+34,9
@@
static unsigned char switch_command[] =
int main(void)
{
int ret;
- int transferred;
libusb_device_handle *usb_device;
-
unsigned int len;
+ int transferred;
ret = libusb_init(NULL);
if (ret < 0) {