aboutsummaryrefslogtreecommitdiff
path: root/Demos/Device/Incomplete/Sideshow/Descriptors.c
diff options
context:
space:
mode:
authorDean Camera <[email protected]>2010-03-22 07:12:25 +0000
committerDean Camera <[email protected]>2010-03-22 07:12:25 +0000
commit49b09a2042368947ab34f788f00b710183912285 (patch)
tree5f7a09d599f84d37d1b122b66e6c0c0b62731c5e /Demos/Device/Incomplete/Sideshow/Descriptors.c
parent5227ca4ce2be126b118a900e9242c813fef5e6bf (diff)
downloadqmk_firmware-49b09a2042368947ab34f788f00b710183912285.tar.gz
qmk_firmware-49b09a2042368947ab34f788f00b710183912285.zip
Standardized the naming scheme given to configuration descriptor sub-elements in the Device mode demos, bootloaders and projects.
Fix errors in the MouseHostWithParser demo from incorrect use of the HID_ALIGN_DATA() macro.
Diffstat (limited to 'Demos/Device/Incomplete/Sideshow/Descriptors.c')
-rw-r--r--Demos/Device/Incomplete/Sideshow/Descriptors.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/Demos/Device/Incomplete/Sideshow/Descriptors.c b/Demos/Device/Incomplete/Sideshow/Descriptors.c
index f04b2f6a09..8f36caec36 100644
--- a/Demos/Device/Incomplete/Sideshow/Descriptors.c
+++ b/Demos/Device/Incomplete/Sideshow/Descriptors.c
@@ -54,7 +54,7 @@ USB_Descriptor_Device_t PROGMEM DeviceDescriptor =
USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
{
- Config:
+ .Config =
{
Header: {Size: sizeof(USB_Descriptor_Configuration_Header_t), Type: DTYPE_Configuration},
@@ -69,7 +69,7 @@ USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
MaxPowerConsumption: USB_CONFIG_POWER_MA(100)
},
- Interface:
+ .SSHOW_Interface =
{
Header: {Size: sizeof(USB_Descriptor_Interface_t), Type: DTYPE_Interface},
@@ -85,7 +85,7 @@ USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
InterfaceStrIndex: NO_DESCRIPTOR
},
- DataInEndpoint:
+ .SSHOW_DataInEndpoint =
{
Header: {Size: sizeof(USB_Descriptor_Endpoint_t), Type: DTYPE_Endpoint},
@@ -95,7 +95,7 @@ USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
PollingIntervalMS: 0x00
},
- DataOutEndpoint:
+ .SSHOW_DataOutEndpoint =
{
Header: {Size: sizeof(USB_Descriptor_Endpoint_t), Type: DTYPE_Endpoint},