projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Some minor whitespace corrections.
[pub/USBasp.git]
/
Demos
/
Device
/
ClassDriver
/
AudioOutput
/
Descriptors.c
diff --git
a/Demos/Device/ClassDriver/AudioOutput/Descriptors.c
b/Demos/Device/ClassDriver/AudioOutput/Descriptors.c
index
0039c2b
..
01d3bc7
100644
(file)
--- a/
Demos/Device/ClassDriver/AudioOutput/Descriptors.c
+++ b/
Demos/Device/ClassDriver/AudioOutput/Descriptors.c
@@
-45,22
+45,22
@@
USB_Descriptor_Device_t PROGMEM DeviceDescriptor =
\r
{
\r
.Header = {.Size = sizeof(USB_Descriptor_Device_t), .Type = DTYPE_Device},
\r
USB_Descriptor_Device_t PROGMEM DeviceDescriptor =
\r
{
\r
.Header = {.Size = sizeof(USB_Descriptor_Device_t), .Type = DTYPE_Device},
\r
-
\r
+
\r
.USBSpecification = VERSION_BCD(02.00),
\r
.Class = 0x00,
\r
.SubClass = 0x00,
\r
.Protocol = 0x00,
\r
.USBSpecification = VERSION_BCD(02.00),
\r
.Class = 0x00,
\r
.SubClass = 0x00,
\r
.Protocol = 0x00,
\r
-
\r
+
\r
.Endpoint0Size = FIXED_CONTROL_ENDPOINT_SIZE,
\r
.Endpoint0Size = FIXED_CONTROL_ENDPOINT_SIZE,
\r
-
\r
+
\r
.VendorID = 0x03EB,
\r
.ProductID = 0x2046,
\r
.ReleaseNumber = 0x0000,
\r
.VendorID = 0x03EB,
\r
.ProductID = 0x2046,
\r
.ReleaseNumber = 0x0000,
\r
-
\r
+
\r
.ManufacturerStrIndex = 0x01,
\r
.ProductStrIndex = 0x02,
\r
.SerialNumStrIndex = NO_DESCRIPTOR,
\r
.ManufacturerStrIndex = 0x01,
\r
.ProductStrIndex = 0x02,
\r
.SerialNumStrIndex = NO_DESCRIPTOR,
\r
-
\r
+
\r
.NumberOfConfigurations = 1
\r
};
\r
\r
.NumberOfConfigurations = 1
\r
};
\r
\r
@@
-80,7
+80,7
@@
USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
\r
.ConfigurationNumber = 1,
\r
.ConfigurationStrIndex = NO_DESCRIPTOR,
\r
\r
.ConfigurationNumber = 1,
\r
.ConfigurationStrIndex = NO_DESCRIPTOR,
\r
-
\r
+
\r
.ConfigAttributes = (USB_CONFIG_ATTR_BUSPOWERED | USB_CONFIG_ATTR_SELFPOWERED),
\r
\r
.MaxPowerConsumption = USB_CONFIG_POWER_MA(100)
\r
.ConfigAttributes = (USB_CONFIG_ATTR_BUSPOWERED | USB_CONFIG_ATTR_SELFPOWERED),
\r
\r
.MaxPowerConsumption = USB_CONFIG_POWER_MA(100)
\r
@@
-94,12
+94,12
@@
USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.AlternateSetting = 0,
\r
\r
.TotalEndpoints = 0,
\r
.AlternateSetting = 0,
\r
\r
.TotalEndpoints = 0,
\r
-
\r
+
\r
.Class = 0x01,
\r
.SubClass = 0x01,
\r
.Protocol = 0x00,
\r
.Class = 0x01,
\r
.SubClass = 0x01,
\r
.Protocol = 0x00,
\r
-
\r
- .InterfaceStrIndex = NO_DESCRIPTOR
\r
+
\r
+ .InterfaceStrIndex = NO_DESCRIPTOR
\r
},
\r
\r
.AudioControlInterface_SPC =
\r
},
\r
\r
.AudioControlInterface_SPC =
\r
@@
-109,11
+109,11
@@
USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
\r
.ACSpecification = VERSION_BCD(01.00),
\r
.TotalLength = (sizeof(USB_AudioInterface_AC_t) +
\r
\r
.ACSpecification = VERSION_BCD(01.00),
\r
.TotalLength = (sizeof(USB_AudioInterface_AC_t) +
\r
- sizeof(USB_AudioInputTerminal_t) +
\r
-
sizeof(USB_AudioOutputTerminal_t)),
\r
+
sizeof(USB_AudioInputTerminal_t) +
\r
+ sizeof(USB_AudioOutputTerminal_t)),
\r
\r
.InCollection = 1,
\r
\r
.InCollection = 1,
\r
- .InterfaceNumbers = {1},
\r
+ .InterfaceNumbers = {1},
\r
},
\r
\r
.InputTerminal =
\r
},
\r
\r
.InputTerminal =
\r
@@
-143,7
+143,7
@@
USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
\r
.SourceID = 0x01,
\r
\r
\r
.SourceID = 0x01,
\r
\r
- .TerminalStrIndex = NO_DESCRIPTOR
\r
+ .TerminalStrIndex = NO_DESCRIPTOR
\r
},
\r
\r
.AudioStreamInterface_Alt0 =
\r
},
\r
\r
.AudioStreamInterface_Alt0 =
\r
@@
-154,11
+154,11
@@
USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.AlternateSetting = 0,
\r
\r
.TotalEndpoints = 0,
\r
.AlternateSetting = 0,
\r
\r
.TotalEndpoints = 0,
\r
-
\r
+
\r
.Class = 0x01,
\r
.SubClass = 0x02,
\r
.Protocol = 0x00,
\r
.Class = 0x01,
\r
.SubClass = 0x02,
\r
.Protocol = 0x00,
\r
-
\r
+
\r
.InterfaceStrIndex = NO_DESCRIPTOR
\r
},
\r
\r
.InterfaceStrIndex = NO_DESCRIPTOR
\r
},
\r
\r
@@
-170,11
+170,11
@@
USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.AlternateSetting = 1,
\r
\r
.TotalEndpoints = 1,
\r
.AlternateSetting = 1,
\r
\r
.TotalEndpoints = 1,
\r
-
\r
+
\r
.Class = 0x01,
\r
.SubClass = 0x02,
\r
.Protocol = 0x00,
\r
.Class = 0x01,
\r
.SubClass = 0x02,
\r
.Protocol = 0x00,
\r
-
\r
+
\r
.InterfaceStrIndex = NO_DESCRIPTOR
\r
},
\r
\r
.InterfaceStrIndex = NO_DESCRIPTOR
\r
},
\r
\r
@@
-239,7
+239,7
@@
USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
USB_Descriptor_String_t PROGMEM LanguageString =
\r
{
\r
.Header = {.Size = USB_STRING_LEN(1), .Type = DTYPE_String},
\r
USB_Descriptor_String_t PROGMEM LanguageString =
\r
{
\r
.Header = {.Size = USB_STRING_LEN(1), .Type = DTYPE_String},
\r
-
\r
+
\r
.UnicodeString = {LANGUAGE_ID_ENG}
\r
};
\r
\r
.UnicodeString = {LANGUAGE_ID_ENG}
\r
};
\r
\r
@@
-250,7
+250,7
@@
USB_Descriptor_String_t PROGMEM LanguageString =
USB_Descriptor_String_t PROGMEM ManufacturerString =
\r
{
\r
.Header = {.Size = USB_STRING_LEN(11), .Type = DTYPE_String},
\r
USB_Descriptor_String_t PROGMEM ManufacturerString =
\r
{
\r
.Header = {.Size = USB_STRING_LEN(11), .Type = DTYPE_String},
\r
-
\r
+
\r
.UnicodeString = L"Dean Camera"
\r
};
\r
\r
.UnicodeString = L"Dean Camera"
\r
};
\r
\r
@@
-261,7
+261,7
@@
USB_Descriptor_String_t PROGMEM ManufacturerString =
USB_Descriptor_String_t PROGMEM ProductString =
\r
{
\r
.Header = {.Size = USB_STRING_LEN(19), .Type = DTYPE_String},
\r
USB_Descriptor_String_t PROGMEM ProductString =
\r
{
\r
.Header = {.Size = USB_STRING_LEN(19), .Type = DTYPE_String},
\r
-
\r
+
\r
.UnicodeString = L"LUFA Audio Out Demo"
\r
};
\r
\r
.UnicodeString = L"LUFA Audio Out Demo"
\r
};
\r
\r