am7xxx-modeswitch: reorder declarations of variables
[libam7xxx.git] / examples / am7xxx-modeswitch.c
index 475ff4b..b431084 100644 (file)
@@ -34,10 +34,9 @@ static unsigned char switch_command[] =
 int main(void)
 {
        int ret;
 int main(void)
 {
        int ret;
-       int transferred;
        libusb_device_handle *usb_device;
        libusb_device_handle *usb_device;
-
        unsigned int len;
        unsigned int len;
+       int transferred;
 
        ret = libusb_init(NULL);
        if (ret < 0) {
 
        ret = libusb_init(NULL);
        if (ret < 0) {