debug SHM

This commit is contained in:
optixx
2009-08-30 11:44:27 +02:00
parent 68b882acfb
commit f9e1a7a151
5 changed files with 28 additions and 18 deletions

View File

@@ -156,6 +156,9 @@ quickdev16_write_rom (const char *filename)
USB_ENDPOINT_OUT, USB_MODE_AVR, 0, 0, NULL,
0, 5000);
/* wait for the loader to depack */
usleep(500000);
cnt = usb_control_msg(handle,
USB_TYPE_VENDOR | USB_RECIP_DEVICE | USB_ENDPOINT_OUT,