|
|
@@ -1307,14 +1307,14 @@ PROGMEM const uint8_t usb_config_descriptor_480[CONFIG_DESC_SIZE] = { |
|
|
|
5, // bDescriptorType |
|
|
|
MTP_TX_ENDPOINT | 0x80, // bEndpointAddress |
|
|
|
0x02, // bmAttributes (0x02=bulk) |
|
|
|
MTP_TX_SIZE, 0, // wMaxPacketSize |
|
|
|
LSB(MTP_TX_SIZE_480),MSB(MTP_TX_SIZE_480), // wMaxPacketSize |
|
|
|
0, // bInterval |
|
|
|
// endpoint descriptor, USB spec 9.6.6, page 269-271, Table 9-13 |
|
|
|
7, // bLength |
|
|
|
5, // bDescriptorType |
|
|
|
MTP_RX_ENDPOINT, // bEndpointAddress |
|
|
|
0x02, // bmAttributes (0x02=bulk) |
|
|
|
MTP_RX_SIZE, 0, // wMaxPacketSize |
|
|
|
LSB(MTP_RX_SIZE_480),MSB(MTP_RX_SIZE_480), // wMaxPacketSize |
|
|
|
0, // bInterval |
|
|
|
// endpoint descriptor, USB spec 9.6.6, page 269-271, Table 9-13 |
|
|
|
7, // bLength |
|
|
@@ -1322,7 +1322,7 @@ PROGMEM const uint8_t usb_config_descriptor_480[CONFIG_DESC_SIZE] = { |
|
|
|
MTP_EVENT_ENDPOINT | 0x80, // bEndpointAddress |
|
|
|
0x03, // bmAttributes (0x03=intr) |
|
|
|
MTP_EVENT_SIZE, 0, // wMaxPacketSize |
|
|
|
MTP_EVENT_INTERVAL, // bInterval |
|
|
|
MTP_EVENT_INTERVAL_480, // bInterval |
|
|
|
#endif // MTP_INTERFACE |
|
|
|
|
|
|
|
#ifdef KEYMEDIA_INTERFACE |
|
|
@@ -2293,14 +2293,14 @@ PROGMEM const uint8_t usb_config_descriptor_12[CONFIG_DESC_SIZE] = { |
|
|
|
5, // bDescriptorType |
|
|
|
MTP_TX_ENDPOINT | 0x80, // bEndpointAddress |
|
|
|
0x02, // bmAttributes (0x02=bulk) |
|
|
|
MTP_TX_SIZE, 0, // wMaxPacketSize |
|
|
|
LSB(MTP_TX_SIZE_12),MSB(MTP_TX_SIZE_12),// wMaxPacketSize |
|
|
|
0, // bInterval |
|
|
|
// endpoint descriptor, USB spec 9.6.6, page 269-271, Table 9-13 |
|
|
|
7, // bLength |
|
|
|
5, // bDescriptorType |
|
|
|
MTP_RX_ENDPOINT, // bEndpointAddress |
|
|
|
0x02, // bmAttributes (0x02=bulk) |
|
|
|
MTP_RX_SIZE, 0, // wMaxPacketSize |
|
|
|
LSB(MTP_RX_SIZE_12),MSB(MTP_RX_SIZE_12),// wMaxPacketSize |
|
|
|
0, // bInterval |
|
|
|
// endpoint descriptor, USB spec 9.6.6, page 269-271, Table 9-13 |
|
|
|
7, // bLength |
|
|
@@ -2308,7 +2308,7 @@ PROGMEM const uint8_t usb_config_descriptor_12[CONFIG_DESC_SIZE] = { |
|
|
|
MTP_EVENT_ENDPOINT | 0x80, // bEndpointAddress |
|
|
|
0x03, // bmAttributes (0x03=intr) |
|
|
|
MTP_EVENT_SIZE, 0, // wMaxPacketSize |
|
|
|
MTP_EVENT_INTERVAL, // bInterval |
|
|
|
MTP_EVENT_INTERVAL_12, // bInterval |
|
|
|
#endif // MTP_INTERFACE |
|
|
|
|
|
|
|
#ifdef KEYMEDIA_INTERFACE |