projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Standardized the naming scheme given to configuration descriptor sub-elements in...
[pub/USBasp.git]
/
Demos
/
Device
/
ClassDriver
/
MassStorage
/
Descriptors.c
diff --git
a/Demos/Device/ClassDriver/MassStorage/Descriptors.c
b/Demos/Device/ClassDriver/MassStorage/Descriptors.c
index
40ce620
..
856d408
100644
(file)
--- a/
Demos/Device/ClassDriver/MassStorage/Descriptors.c
+++ b/
Demos/Device/ClassDriver/MassStorage/Descriptors.c
@@
-98,7
+98,7
@@
USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.MaxPowerConsumption = USB_CONFIG_POWER_MA(100)
\r
},
\r
\r
.MaxPowerConsumption = USB_CONFIG_POWER_MA(100)
\r
},
\r
\r
- .Interface =
\r
+ .
MS_
Interface =
\r
{
\r
.Header = {.Size = sizeof(USB_Descriptor_Interface_t), .Type = DTYPE_Interface},
\r
\r
{
\r
.Header = {.Size = sizeof(USB_Descriptor_Interface_t), .Type = DTYPE_Interface},
\r
\r
@@
-114,7
+114,7
@@
USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.InterfaceStrIndex = NO_DESCRIPTOR
\r
},
\r
\r
.InterfaceStrIndex = NO_DESCRIPTOR
\r
},
\r
\r
- .DataInEndpoint =
\r
+ .
MS_
DataInEndpoint =
\r
{
\r
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
{
\r
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
@@
-124,7
+124,7
@@
USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor =
.PollingIntervalMS = 0x00
\r
},
\r
\r
.PollingIntervalMS = 0x00
\r
},
\r
\r
- .DataOutEndpoint =
\r
+ .
MS_
DataOutEndpoint =
\r
{
\r
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r
{
\r
.Header = {.Size = sizeof(USB_Descriptor_Endpoint_t), .Type = DTYPE_Endpoint},
\r
\r