From 43d775ba97c339c0cbb6182a5075390484bf965e Mon Sep 17 00:00:00 2001 From: Xiangfu Liu Date: Mon, 21 Jun 2010 14:35:24 +0800 Subject: [PATCH] this is a workaround. we have plan to update the libusb-0.1 to libusb-1.0. then we try to use sync wirte function. Signed-off-by: Xiangfu Liu --- usbboot/src/cmd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/usbboot/src/cmd.c b/usbboot/src/cmd.c index c5e0f1b..7c726f8 100644 --- a/usbboot/src/cmd.c +++ b/usbboot/src/cmd.c @@ -109,6 +109,7 @@ void init_cfg() if (usb_send_data_to_ingenic(&ingenic_dev) != 1) goto xout; + sleep(1); if (usb_ingenic_configration(&ingenic_dev, DS_hand) != 1) goto xout;