aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB/Class/Device
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2012-02-19 15:24:05 +0000
committerDean Camera <dean@fourwalledcubicle.com>2012-02-19 15:24:05 +0000
commit50ff97f378b76d177fef7162e31bb3fb71ef050c (patch)
tree98a0e3a5fd8a438ebfcabfcf172fa5deb2e0e58b /LUFA/Drivers/USB/Class/Device
parentbbe7c77b9125194a005847e4dc274af05eb90ae7 (diff)
downloadlufa-50ff97f378b76d177fef7162e31bb3fb71ef050c.tar.gz
lufa-50ff97f378b76d177fef7162e31bb3fb71ef050c.tar.bz2
lufa-50ff97f378b76d177fef7162e31bb3fb71ef050c.zip
All USB Class Driver configuration struct values are now non-const, to allow for run-time modifications if required before configuring an instance.
Diffstat (limited to 'LUFA/Drivers/USB/Class/Device')
-rw-r--r--LUFA/Drivers/USB/Class/Device/AudioClassDevice.h2
-rw-r--r--LUFA/Drivers/USB/Class/Device/CDCClassDevice.h2
-rw-r--r--LUFA/Drivers/USB/Class/Device/HIDClassDevice.h2
-rw-r--r--LUFA/Drivers/USB/Class/Device/MIDIClassDevice.h4
-rw-r--r--LUFA/Drivers/USB/Class/Device/MassStorageClassDevice.h2
-rw-r--r--LUFA/Drivers/USB/Class/Device/RNDISClassDevice.h2
6 files changed, 7 insertions, 7 deletions
diff --git a/LUFA/Drivers/USB/Class/Device/AudioClassDevice.h b/LUFA/Drivers/USB/Class/Device/AudioClassDevice.h
index 8a146ef4b..dad177e04 100644
--- a/LUFA/Drivers/USB/Class/Device/AudioClassDevice.h
+++ b/LUFA/Drivers/USB/Class/Device/AudioClassDevice.h
@@ -77,7 +77,7 @@
*/
typedef struct
{
- const struct
+ struct
{
uint8_t StreamingInterfaceNumber; /**< Index of the Audio Streaming interface within the device this
* structure controls.
diff --git a/LUFA/Drivers/USB/Class/Device/CDCClassDevice.h b/LUFA/Drivers/USB/Class/Device/CDCClassDevice.h
index 6e005efbf..998b0a738 100644
--- a/LUFA/Drivers/USB/Class/Device/CDCClassDevice.h
+++ b/LUFA/Drivers/USB/Class/Device/CDCClassDevice.h
@@ -96,7 +96,7 @@
*/
typedef struct
{
- const struct
+ struct
{
uint8_t ControlInterfaceNumber; /**< Interface number of the CDC control interface within the device. */
diff --git a/LUFA/Drivers/USB/Class/Device/HIDClassDevice.h b/LUFA/Drivers/USB/Class/Device/HIDClassDevice.h
index 95389f371..a6361c6b0 100644
--- a/LUFA/Drivers/USB/Class/Device/HIDClassDevice.h
+++ b/LUFA/Drivers/USB/Class/Device/HIDClassDevice.h
@@ -81,7 +81,7 @@
*/
typedef struct
{
- const struct
+ struct
{
uint8_t InterfaceNumber; /**< Interface number of the HID interface within the device. */
diff --git a/LUFA/Drivers/USB/Class/Device/MIDIClassDevice.h b/LUFA/Drivers/USB/Class/Device/MIDIClassDevice.h
index 791038e29..4fe49af1f 100644
--- a/LUFA/Drivers/USB/Class/Device/MIDIClassDevice.h
+++ b/LUFA/Drivers/USB/Class/Device/MIDIClassDevice.h
@@ -77,7 +77,7 @@
*/
typedef struct
{
- const struct
+ struct
{
uint8_t StreamingInterfaceNumber; /**< Index of the Audio Streaming interface within the device this structure controls. */
@@ -94,7 +94,7 @@
struct
{
- // No state information for this class
+ uint8_t RESERVED; // No state information for this class
} State; /**< State data for the USB class interface within the device. All elements in this section
* are reset to their defaults when the interface is enumerated.
*/
diff --git a/LUFA/Drivers/USB/Class/Device/MassStorageClassDevice.h b/LUFA/Drivers/USB/Class/Device/MassStorageClassDevice.h
index e676a9752..c2d536ce2 100644
--- a/LUFA/Drivers/USB/Class/Device/MassStorageClassDevice.h
+++ b/LUFA/Drivers/USB/Class/Device/MassStorageClassDevice.h
@@ -77,7 +77,7 @@
*/
typedef struct
{
- const struct
+ struct
{
uint8_t InterfaceNumber; /**< Interface number of the Mass Storage interface within the device. */
diff --git a/LUFA/Drivers/USB/Class/Device/RNDISClassDevice.h b/LUFA/Drivers/USB/Class/Device/RNDISClassDevice.h
index b1fd35f97..ccd20e38e 100644
--- a/LUFA/Drivers/USB/Class/Device/RNDISClassDevice.h
+++ b/LUFA/Drivers/USB/Class/Device/RNDISClassDevice.h
@@ -77,7 +77,7 @@
*/
typedef struct
{
- const struct
+ struct
{
uint8_t ControlInterfaceNumber; /**< Interface number of the RNDIS control interface within the device. */