projects
/
libam7xxx.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
e394304
)
am7xxx-modeswitch: add a blank line for readability
author
Antonio Ospite <ao2@ao2.it>
Wed, 10 Jun 2015 10:41:57 +0000
(12:41 +0200)
committer
Antonio Ospite <ao2@ao2.it>
Wed, 10 Jun 2015 13:17:50 +0000
(15:17 +0200)
examples/am7xxx-modeswitch.c
patch
|
blob
|
history
diff --git
a/examples/am7xxx-modeswitch.c
b/examples/am7xxx-modeswitch.c
index
1230bd4
..
2764ab2
100644
(file)
--- a/
examples/am7xxx-modeswitch.c
+++ b/
examples/am7xxx-modeswitch.c
@@
-107,6
+107,7
@@
int main(void)
}
len = sizeof(switch_command);
}
len = sizeof(switch_command);
+
transferred = 0;
ret = libusb_bulk_transfer(usb_device, AM7XXX_STORAGE_OUT_EP,
switch_command, len, &transferred, 0);
transferred = 0;
ret = libusb_bulk_transfer(usb_device, AM7XXX_STORAGE_OUT_EP,
switch_command, len, &transferred, 0);