aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB/Class/Device/MIDIClassDevice.h
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/MIDIClassDevice.h
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/MIDIClassDevice.h')
-rw-r--r--LUFA/Drivers/USB/Class/Device/MIDIClassDevice.h4
1 files changed, 2 insertions, 2 deletions
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.
*/