File fix-flashing.patch of Package cc-tool
--- src/programmer/cc_programmer.cpp.orig 2018-10-30 17:42:25.273045001 +0100
+++ src/programmer/cc_programmer.cpp 2018-10-30 17:42:28.989144763 +0100
@@ -278,7 +278,7 @@
memcpy(&command[0x15], programmer_info_.debugger_id.c_str(), programmer_info_.debugger_id.size());
usb_device_.control_write(LIBUSB_REQUEST_TYPE_VENDOR | LIBUSB_ENDPOINT_OUT,
- USB_SET_CHIP_INFO, 1, 1, &command[0], command.size());
+ USB_SET_CHIP_INFO, 1, 0, &command[0], command.size());
}
//==============================================================================