From 50ff97f378b76d177fef7162e31bb3fb71ef050c Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Sun, 19 Feb 2012 15:24:05 +0000 Subject: All USB Class Driver configuration struct values are now non-const, to allow for run-time modifications if required before configuring an instance. --- LUFA/Drivers/USB/Class/Device/MIDIClassDevice.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'LUFA/Drivers/USB/Class/Device/MIDIClassDevice.h') 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. */ -- cgit v1.2.3