lufa: Remove OUT endpoint of debug console
- OUT ep has not been used. No support for input from host. - Debug console uses only IN ep to display debug prints.
This commit is contained in:
parent
83e2086ccf
commit
ed7dfa140a
2 changed files with 5 additions and 2 deletions
|
|
@ -430,7 +430,8 @@ const USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
|
||||||
.InterfaceNumber = CONSOLE_INTERFACE,
|
.InterfaceNumber = CONSOLE_INTERFACE,
|
||||||
.AlternateSetting = 0x00,
|
.AlternateSetting = 0x00,
|
||||||
|
|
||||||
.TotalEndpoints = 2,
|
//.TotalEndpoints = 2,
|
||||||
|
.TotalEndpoints = 1,
|
||||||
|
|
||||||
.Class = HID_CSCP_HIDClass,
|
.Class = HID_CSCP_HIDClass,
|
||||||
.SubClass = HID_CSCP_NonBootSubclass,
|
.SubClass = HID_CSCP_NonBootSubclass,
|
||||||
|
|
@ -460,6 +461,7 @@ const USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
|
||||||
.PollingIntervalMS = 0x01
|
.PollingIntervalMS = 0x01
|
||||||
},
|
},
|
||||||
|
|
||||||
|
/*
|
||||||
.Console_OUTEndpoint =
|
.Console_OUTEndpoint =
|
||||||
{
|
{
|
||||||
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
|
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
|
||||||
|
|
@ -469,6 +471,7 @@ const USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
|
||||||
.EndpointSize = CONSOLE_EPSIZE,
|
.EndpointSize = CONSOLE_EPSIZE,
|
||||||
.PollingIntervalMS = 0x01
|
.PollingIntervalMS = 0x01
|
||||||
},
|
},
|
||||||
|
*/
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
||||||
|
|
@ -71,7 +71,7 @@ typedef struct
|
||||||
USB_Descriptor_Interface_t Console_Interface;
|
USB_Descriptor_Interface_t Console_Interface;
|
||||||
USB_HID_Descriptor_HID_t Console_HID;
|
USB_HID_Descriptor_HID_t Console_HID;
|
||||||
USB_Descriptor_Endpoint_t Console_INEndpoint;
|
USB_Descriptor_Endpoint_t Console_INEndpoint;
|
||||||
USB_Descriptor_Endpoint_t Console_OUTEndpoint;
|
// USB_Descriptor_Endpoint_t Console_OUTEndpoint;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !defined(NO_KEYBOARD) && defined(NKRO_6KRO_ENABLE)
|
#if !defined(NO_KEYBOARD) && defined(NKRO_6KRO_ENABLE)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue