Closed xmosbrendon closed 7 years ago
One too many closing brackets on lines 123 and 158 - could you amend please?
Already corrected in 651df4b4
Reopen - needs to use usb_strerror on Windows
Could do:
#if defined _WIN32
printf("libusb_control_transfer returned %s\n", usb_strerror());
#elif defined __APPLE__
printf("libusb_control_transfer returned %s\n", libusb_error_name(ret));
#elif defined __linux
printf("libusb_control_transfer returned %d\n", ret);
#endif
implemented changes. New PR opened #38
Change to the usb access functions to print out an error name rather than the error code when libusb returns an error