projects
/
libam7xxx.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
am7xxx-modeswitch: reorder declarations of variables
[libam7xxx.git]
/
examples
/
am7xxx-modeswitch.c
diff --git
a/examples/am7xxx-modeswitch.c
b/examples/am7xxx-modeswitch.c
index
8e528c6
..
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 = NULL;
-
+ libusb_device_handle *usb_device;
unsigned int len;
+ int transferred;
ret = libusb_init(NULL);
if (ret < 0) {