forked from mfulz_github/qmk_firmware
Renamed CDC device class demos' ManagementEndpoint descriptor to NotificationEndpoint to more accurately indicate its purpose.
This commit is contained in:
parent
78600e2485
commit
a883cf65dc
|
@ -126,7 +126,7 @@ USB_Descriptor_Configuration_t ConfigurationDescriptor =
|
||||||
.Data = {0x00, 0x01}
|
.Data = {0x00, 0x01}
|
||||||
},
|
},
|
||||||
|
|
||||||
.CDC_ManagementEndpoint =
|
.CDC_NotificationEndpoint =
|
||||||
{
|
{
|
||||||
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
|
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
|
||||||
|
|
||||||
|
|
|
@ -133,7 +133,7 @@
|
||||||
CDC_FUNCTIONAL_DESCRIPTOR(2) CDC_Functional_IntHeader;
|
CDC_FUNCTIONAL_DESCRIPTOR(2) CDC_Functional_IntHeader;
|
||||||
CDC_FUNCTIONAL_DESCRIPTOR(1) CDC_Functional_AbstractControlManagement;
|
CDC_FUNCTIONAL_DESCRIPTOR(1) CDC_Functional_AbstractControlManagement;
|
||||||
CDC_FUNCTIONAL_DESCRIPTOR(2) CDC_Functional_Union;
|
CDC_FUNCTIONAL_DESCRIPTOR(2) CDC_Functional_Union;
|
||||||
USB_Descriptor_Endpoint_t CDC_ManagementEndpoint;
|
USB_Descriptor_Endpoint_t CDC_NotificationEndpoint;
|
||||||
USB_Descriptor_Interface_t CDC_DCI_Interface;
|
USB_Descriptor_Interface_t CDC_DCI_Interface;
|
||||||
USB_Descriptor_Endpoint_t CDC_DataOutEndpoint;
|
USB_Descriptor_Endpoint_t CDC_DataOutEndpoint;
|
||||||
USB_Descriptor_Endpoint_t CDC_DataInEndpoint;
|
USB_Descriptor_Endpoint_t CDC_DataInEndpoint;
|
||||||
|
|
|
@ -126,7 +126,7 @@ USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
|
||||||
.Data = {0x00, 0x01}
|
.Data = {0x00, 0x01}
|
||||||
},
|
},
|
||||||
|
|
||||||
.CDC_ManagementEndpoint =
|
.CDC_NotificationEndpoint =
|
||||||
{
|
{
|
||||||
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
|
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
|
||||||
|
|
||||||
|
|
|
@ -70,7 +70,7 @@
|
||||||
CDC_FUNCTIONAL_DESCRIPTOR(2) CDC_Functional_Header;
|
CDC_FUNCTIONAL_DESCRIPTOR(2) CDC_Functional_Header;
|
||||||
CDC_FUNCTIONAL_DESCRIPTOR(1) CDC_Functional_AbstractControlManagement;
|
CDC_FUNCTIONAL_DESCRIPTOR(1) CDC_Functional_AbstractControlManagement;
|
||||||
CDC_FUNCTIONAL_DESCRIPTOR(2) CDC_Functional_Union;
|
CDC_FUNCTIONAL_DESCRIPTOR(2) CDC_Functional_Union;
|
||||||
USB_Descriptor_Endpoint_t CDC_ManagementEndpoint;
|
USB_Descriptor_Endpoint_t CDC_NotificationEndpoint;
|
||||||
USB_Descriptor_Interface_t CDC_DCI_Interface;
|
USB_Descriptor_Interface_t CDC_DCI_Interface;
|
||||||
USB_Descriptor_Endpoint_t RNDIS_DataOutEndpoint;
|
USB_Descriptor_Endpoint_t RNDIS_DataOutEndpoint;
|
||||||
USB_Descriptor_Endpoint_t RNDIS_DataInEndpoint;
|
USB_Descriptor_Endpoint_t RNDIS_DataInEndpoint;
|
||||||
|
|
|
@ -138,7 +138,7 @@ USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
|
||||||
.Data = {0x00, 0x01}
|
.Data = {0x00, 0x01}
|
||||||
},
|
},
|
||||||
|
|
||||||
.CDC_ManagementEndpoint =
|
.CDC_NotificationEndpoint =
|
||||||
{
|
{
|
||||||
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
|
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
|
||||||
|
|
||||||
|
|
|
@ -70,7 +70,7 @@
|
||||||
CDC_FUNCTIONAL_DESCRIPTOR(2) CDC_Functional_IntHeader;
|
CDC_FUNCTIONAL_DESCRIPTOR(2) CDC_Functional_IntHeader;
|
||||||
CDC_FUNCTIONAL_DESCRIPTOR(1) CDC_Functional_AbstractControlManagement;
|
CDC_FUNCTIONAL_DESCRIPTOR(1) CDC_Functional_AbstractControlManagement;
|
||||||
CDC_FUNCTIONAL_DESCRIPTOR(2) CDC_Functional_Union;
|
CDC_FUNCTIONAL_DESCRIPTOR(2) CDC_Functional_Union;
|
||||||
USB_Descriptor_Endpoint_t CDC_ManagementEndpoint;
|
USB_Descriptor_Endpoint_t CDC_NotificationEndpoint;
|
||||||
USB_Descriptor_Interface_t CDC_DCI_Interface;
|
USB_Descriptor_Interface_t CDC_DCI_Interface;
|
||||||
USB_Descriptor_Endpoint_t CDC_DataOutEndpoint;
|
USB_Descriptor_Endpoint_t CDC_DataOutEndpoint;
|
||||||
USB_Descriptor_Endpoint_t CDC_DataInEndpoint;
|
USB_Descriptor_Endpoint_t CDC_DataInEndpoint;
|
||||||
|
|
|
@ -188,7 +188,7 @@ USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
|
||||||
.Data = {0x00, 0x01}
|
.Data = {0x00, 0x01}
|
||||||
},
|
},
|
||||||
|
|
||||||
.CDC_ManagementEndpoint =
|
.CDC_NotificationEndpoint =
|
||||||
{
|
{
|
||||||
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
|
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
|
||||||
|
|
||||||
|
|
|
@ -78,7 +78,7 @@
|
||||||
CDC_FUNCTIONAL_DESCRIPTOR(2) CDC_Functional_IntHeader;
|
CDC_FUNCTIONAL_DESCRIPTOR(2) CDC_Functional_IntHeader;
|
||||||
CDC_FUNCTIONAL_DESCRIPTOR(1) CDC_Functional_AbstractControlManagement;
|
CDC_FUNCTIONAL_DESCRIPTOR(1) CDC_Functional_AbstractControlManagement;
|
||||||
CDC_FUNCTIONAL_DESCRIPTOR(2) CDC_Functional_Union;
|
CDC_FUNCTIONAL_DESCRIPTOR(2) CDC_Functional_Union;
|
||||||
USB_Descriptor_Endpoint_t CDC_ManagementEndpoint;
|
USB_Descriptor_Endpoint_t CDC_NotificationEndpoint;
|
||||||
USB_Descriptor_Interface_t CDC_DCI_Interface;
|
USB_Descriptor_Interface_t CDC_DCI_Interface;
|
||||||
USB_Descriptor_Endpoint_t CDC_DataOutEndpoint;
|
USB_Descriptor_Endpoint_t CDC_DataOutEndpoint;
|
||||||
USB_Descriptor_Endpoint_t CDC_DataInEndpoint;
|
USB_Descriptor_Endpoint_t CDC_DataInEndpoint;
|
||||||
|
|
|
@ -126,7 +126,7 @@ USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
|
||||||
.Data = {0x00, 0x01}
|
.Data = {0x00, 0x01}
|
||||||
},
|
},
|
||||||
|
|
||||||
.CDC_ManagementEndpoint =
|
.CDC_NotificationEndpoint =
|
||||||
{
|
{
|
||||||
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
|
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
|
||||||
|
|
||||||
|
|
|
@ -84,7 +84,7 @@
|
||||||
CDC_FUNCTIONAL_DESCRIPTOR(2) CDC_Functional_Header;
|
CDC_FUNCTIONAL_DESCRIPTOR(2) CDC_Functional_Header;
|
||||||
CDC_FUNCTIONAL_DESCRIPTOR(1) CDC_Functional_AbstractControlManagement;
|
CDC_FUNCTIONAL_DESCRIPTOR(1) CDC_Functional_AbstractControlManagement;
|
||||||
CDC_FUNCTIONAL_DESCRIPTOR(2) CDC_Functional_Union;
|
CDC_FUNCTIONAL_DESCRIPTOR(2) CDC_Functional_Union;
|
||||||
USB_Descriptor_Endpoint_t CDC_ManagementEndpoint;
|
USB_Descriptor_Endpoint_t CDC_NotificationEndpoint;
|
||||||
USB_Descriptor_Interface_t CDC_DCI_Interface;
|
USB_Descriptor_Interface_t CDC_DCI_Interface;
|
||||||
USB_Descriptor_Endpoint_t RNDIS_DataOutEndpoint;
|
USB_Descriptor_Endpoint_t RNDIS_DataOutEndpoint;
|
||||||
USB_Descriptor_Endpoint_t RNDIS_DataInEndpoint;
|
USB_Descriptor_Endpoint_t RNDIS_DataInEndpoint;
|
||||||
|
|
|
@ -138,7 +138,7 @@ USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
|
||||||
.Data = {0x00, 0x01}
|
.Data = {0x00, 0x01}
|
||||||
},
|
},
|
||||||
|
|
||||||
.CDC_ManagementEndpoint =
|
.CDC_NotificationEndpoint =
|
||||||
{
|
{
|
||||||
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
|
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
|
||||||
|
|
||||||
|
|
|
@ -84,7 +84,7 @@
|
||||||
CDC_FUNCTIONAL_DESCRIPTOR(2) CDC_Functional_IntHeader;
|
CDC_FUNCTIONAL_DESCRIPTOR(2) CDC_Functional_IntHeader;
|
||||||
CDC_FUNCTIONAL_DESCRIPTOR(1) CDC_Functional_AbstractControlManagement;
|
CDC_FUNCTIONAL_DESCRIPTOR(1) CDC_Functional_AbstractControlManagement;
|
||||||
CDC_FUNCTIONAL_DESCRIPTOR(2) CDC_Functional_Union;
|
CDC_FUNCTIONAL_DESCRIPTOR(2) CDC_Functional_Union;
|
||||||
USB_Descriptor_Endpoint_t CDC_ManagementEndpoint;
|
USB_Descriptor_Endpoint_t CDC_NotificationEndpoint;
|
||||||
USB_Descriptor_Interface_t CDC_DCI_Interface;
|
USB_Descriptor_Interface_t CDC_DCI_Interface;
|
||||||
USB_Descriptor_Endpoint_t CDC_DataOutEndpoint;
|
USB_Descriptor_Endpoint_t CDC_DataOutEndpoint;
|
||||||
USB_Descriptor_Endpoint_t CDC_DataInEndpoint;
|
USB_Descriptor_Endpoint_t CDC_DataInEndpoint;
|
||||||
|
|
|
@ -126,7 +126,7 @@ USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
|
||||||
.Data = {0x00, 0x01}
|
.Data = {0x00, 0x01}
|
||||||
},
|
},
|
||||||
|
|
||||||
.CDC_ManagementEndpoint =
|
.CDC_NotificationEndpoint =
|
||||||
{
|
{
|
||||||
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
|
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
|
||||||
|
|
||||||
|
|
|
@ -70,7 +70,7 @@
|
||||||
CDC_FUNCTIONAL_DESCRIPTOR(2) CDC_Functional_IntHeader;
|
CDC_FUNCTIONAL_DESCRIPTOR(2) CDC_Functional_IntHeader;
|
||||||
CDC_FUNCTIONAL_DESCRIPTOR(1) CDC_Functional_AbstractControlManagement;
|
CDC_FUNCTIONAL_DESCRIPTOR(1) CDC_Functional_AbstractControlManagement;
|
||||||
CDC_FUNCTIONAL_DESCRIPTOR(2) CDC_Functional_Union;
|
CDC_FUNCTIONAL_DESCRIPTOR(2) CDC_Functional_Union;
|
||||||
USB_Descriptor_Endpoint_t CDC_ManagementEndpoint;
|
USB_Descriptor_Endpoint_t CDC_NotificationEndpoint;
|
||||||
USB_Descriptor_Interface_t CDC_DCI_Interface;
|
USB_Descriptor_Interface_t CDC_DCI_Interface;
|
||||||
USB_Descriptor_Endpoint_t CDC_DataOutEndpoint;
|
USB_Descriptor_Endpoint_t CDC_DataOutEndpoint;
|
||||||
USB_Descriptor_Endpoint_t CDC_DataInEndpoint;
|
USB_Descriptor_Endpoint_t CDC_DataInEndpoint;
|
||||||
|
|
|
@ -138,7 +138,7 @@ USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
|
||||||
.Data = {0x00, 0x01}
|
.Data = {0x00, 0x01}
|
||||||
},
|
},
|
||||||
|
|
||||||
.CDC_ManagementEndpoint =
|
.CDC_NotificationEndpoint =
|
||||||
{
|
{
|
||||||
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
|
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
|
||||||
|
|
||||||
|
|
|
@ -70,7 +70,7 @@
|
||||||
CDC_FUNCTIONAL_DESCRIPTOR(2) CDC_Functional_IntHeader;
|
CDC_FUNCTIONAL_DESCRIPTOR(2) CDC_Functional_IntHeader;
|
||||||
CDC_FUNCTIONAL_DESCRIPTOR(1) CDC_Functional_AbstractControlManagement;
|
CDC_FUNCTIONAL_DESCRIPTOR(1) CDC_Functional_AbstractControlManagement;
|
||||||
CDC_FUNCTIONAL_DESCRIPTOR(2) CDC_Functional_Union;
|
CDC_FUNCTIONAL_DESCRIPTOR(2) CDC_Functional_Union;
|
||||||
USB_Descriptor_Endpoint_t CDC_ManagementEndpoint;
|
USB_Descriptor_Endpoint_t CDC_NotificationEndpoint;
|
||||||
USB_Descriptor_Interface_t CDC_DCI_Interface;
|
USB_Descriptor_Interface_t CDC_DCI_Interface;
|
||||||
USB_Descriptor_Endpoint_t CDC_DataOutEndpoint;
|
USB_Descriptor_Endpoint_t CDC_DataOutEndpoint;
|
||||||
USB_Descriptor_Endpoint_t CDC_DataInEndpoint;
|
USB_Descriptor_Endpoint_t CDC_DataInEndpoint;
|
||||||
|
|
|
@ -138,7 +138,7 @@ USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
|
||||||
.Data = {0x00, 0x01}
|
.Data = {0x00, 0x01}
|
||||||
},
|
},
|
||||||
|
|
||||||
.CDC_ManagementEndpoint =
|
.CDC_NotificationEndpoint =
|
||||||
{
|
{
|
||||||
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
|
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
|
||||||
|
|
||||||
|
|
|
@ -70,7 +70,7 @@
|
||||||
CDC_FUNCTIONAL_DESCRIPTOR(2) CDC_Functional_IntHeader;
|
CDC_FUNCTIONAL_DESCRIPTOR(2) CDC_Functional_IntHeader;
|
||||||
CDC_FUNCTIONAL_DESCRIPTOR(1) CDC_Functional_AbstractControlManagement;
|
CDC_FUNCTIONAL_DESCRIPTOR(1) CDC_Functional_AbstractControlManagement;
|
||||||
CDC_FUNCTIONAL_DESCRIPTOR(2) CDC_Functional_Union;
|
CDC_FUNCTIONAL_DESCRIPTOR(2) CDC_Functional_Union;
|
||||||
USB_Descriptor_Endpoint_t CDC_ManagementEndpoint;
|
USB_Descriptor_Endpoint_t CDC_NotificationEndpoint;
|
||||||
USB_Descriptor_Interface_t CDC_DCI_Interface;
|
USB_Descriptor_Interface_t CDC_DCI_Interface;
|
||||||
USB_Descriptor_Endpoint_t CDC_DataOutEndpoint;
|
USB_Descriptor_Endpoint_t CDC_DataOutEndpoint;
|
||||||
USB_Descriptor_Endpoint_t CDC_DataInEndpoint;
|
USB_Descriptor_Endpoint_t CDC_DataInEndpoint;
|
||||||
|
|
|
@ -138,7 +138,7 @@ USART_USB_Descriptor_Configuration_t PROGMEM USART_ConfigurationDescriptor =
|
||||||
.Data = {0x00, 0x01}
|
.Data = {0x00, 0x01}
|
||||||
},
|
},
|
||||||
|
|
||||||
.CDC_ManagementEndpoint =
|
.CDC_NotificationEndpoint =
|
||||||
{
|
{
|
||||||
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
|
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
|
||||||
|
|
||||||
|
|
|
@ -70,7 +70,7 @@
|
||||||
CDC_FUNCTIONAL_DESCRIPTOR(2) CDC_Functional_IntHeader;
|
CDC_FUNCTIONAL_DESCRIPTOR(2) CDC_Functional_IntHeader;
|
||||||
CDC_FUNCTIONAL_DESCRIPTOR(1) CDC_Functional_AbstractControlManagement;
|
CDC_FUNCTIONAL_DESCRIPTOR(1) CDC_Functional_AbstractControlManagement;
|
||||||
CDC_FUNCTIONAL_DESCRIPTOR(2) CDC_Functional_Union;
|
CDC_FUNCTIONAL_DESCRIPTOR(2) CDC_Functional_Union;
|
||||||
USB_Descriptor_Endpoint_t CDC_ManagementEndpoint;
|
USB_Descriptor_Endpoint_t CDC_NotificationEndpoint;
|
||||||
USB_Descriptor_Interface_t CDC_DCI_Interface;
|
USB_Descriptor_Interface_t CDC_DCI_Interface;
|
||||||
USB_Descriptor_Endpoint_t CDC_DataOutEndpoint;
|
USB_Descriptor_Endpoint_t CDC_DataOutEndpoint;
|
||||||
USB_Descriptor_Endpoint_t CDC_DataInEndpoint;
|
USB_Descriptor_Endpoint_t CDC_DataInEndpoint;
|
||||||
|
|
Loading…
Reference in New Issue