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:
tmk 2021-10-23 19:08:36 +09:00
parent 83e2086ccf
commit ed7dfa140a
2 changed files with 5 additions and 2 deletions

View file

@ -430,7 +430,8 @@ const USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.InterfaceNumber = CONSOLE_INTERFACE,
.AlternateSetting = 0x00,
.TotalEndpoints = 2,
//.TotalEndpoints = 2,
.TotalEndpoints = 1,
.Class = HID_CSCP_HIDClass,
.SubClass = HID_CSCP_NonBootSubclass,
@ -460,6 +461,7 @@ const USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.PollingIntervalMS = 0x01
},
/*
.Console_OUTEndpoint =
{
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
@ -469,6 +471,7 @@ const USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.EndpointSize = CONSOLE_EPSIZE,
.PollingIntervalMS = 0x01
},
*/
#endif
/*

View file

@ -71,7 +71,7 @@ typedef struct
USB_Descriptor_Interface_t Console_Interface;
USB_HID_Descriptor_HID_t Console_HID;
USB_Descriptor_Endpoint_t Console_INEndpoint;
USB_Descriptor_Endpoint_t Console_OUTEndpoint;
// USB_Descriptor_Endpoint_t Console_OUTEndpoint;
#endif
#if !defined(NO_KEYBOARD) && defined(NKRO_6KRO_ENABLE)