mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-10-09 23:53:28 -04:00
libusb_control_transfer returns <0 for errors, 0 is success without any bytes, read and ret >0 is the amount if bytes read. Tested command: sudo ./usbboot --vid 0xa108 --pid 0x1000 --cpuinfo Before: Can't get CPU info: 8 After: CPU info: X1000_v1 Change-Id: Ied6d430406239ea4f99e7c83274d99ae4c555899 |
||
|---|---|---|
| .. | ||
| Makefile | ||
| usbboot.c | ||