these endpoints actually seem to work a little better

even though they fail completely in explore. Strange.
This commit is contained in:
Matthias Bethke 2016-08-04 00:26:06 +07:00
parent 18eefffa19
commit 53d8a23ab8
1 changed files with 2 additions and 2 deletions

4
usb.c
View File

@ -25,7 +25,7 @@ struct device {
const struct device devices[] = { const struct device devices[] = {
{ 0xb102, 1, 0x83, 0x04 }, // Steel { 0xb102, 1, 0x83, 0x04 }, // Steel
{ 0xb105, 1, 0x82, 0x03 }, // MP3e2 { 0xb105, 1, 0x82, 0x03 }, // MP3e2
{ 0xb109, 4, 0x82, 0x03 }, // 4-MX { 0xb109, 0, 0x84, 0x01 }, // 4-MX
{ 0, 0, 0, 0 } { 0, 0, 0, 0 }
}; };
@ -177,4 +177,4 @@ usb_write(uint8_t *data, size_t datalen)
memcpy(buf, data, datalen); memcpy(buf, data, datalen);
libusb_fill_bulk_transfer(xfer, usb_dev, d->ep_out, buf, datalen, usb_write_done, NULL, 0); libusb_fill_bulk_transfer(xfer, usb_dev, d->ep_out, buf, datalen, usb_write_done, NULL, 0);
libusb_submit_transfer(xfer); libusb_submit_transfer(xfer);
} }