diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2010-10-01 12:01:54 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2010-10-01 12:01:54 +0000 |
commit | c8942ef4699362747efd6580975a7f61757a4cd6 (patch) | |
tree | 7f7c3bad1ed62680478964529cecbeaf9e4adf46 /LUFA/Drivers | |
parent | d36c96d6a526f74e3853466bcecf49261c58b9bd (diff) | |
download | lufa-c8942ef4699362747efd6580975a7f61757a4cd6.tar.gz lufa-c8942ef4699362747efd6580975a7f61757a4cd6.tar.bz2 lufa-c8942ef4699362747efd6580975a7f61757a4cd6.zip |
Fixed LowLevel JoystickHostWithParser demo not saving the chosen HID interface's report descriptor size.
Simplified low level Host demo configuration descriptor parser routines.
Diffstat (limited to 'LUFA/Drivers')
-rw-r--r-- | LUFA/Drivers/USB/Class/Host/MIDI.c | 2 | ||||
-rw-r--r-- | LUFA/Drivers/USB/Class/Host/MassStorage.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/LUFA/Drivers/USB/Class/Host/MIDI.c b/LUFA/Drivers/USB/Class/Host/MIDI.c index 904e1fef4..3d844c2b3 100644 --- a/LUFA/Drivers/USB/Class/Host/MIDI.c +++ b/LUFA/Drivers/USB/Class/Host/MIDI.c @@ -72,7 +72,7 @@ uint8_t MIDI_Host_ConfigurePipes(USB_ClassInfo_MIDI_Host_t* const MIDIInterfaceI USB_Descriptor_Endpoint_t* EndpointData = DESCRIPTOR_PCAST(ConfigDescriptorData, USB_Descriptor_Endpoint_t); if (EndpointData->EndpointAddress & ENDPOINT_DESCRIPTOR_DIR_IN) - DataINEndpoint = EndpointData; + DataINEndpoint = EndpointData; else DataOUTEndpoint = EndpointData; } diff --git a/LUFA/Drivers/USB/Class/Host/MassStorage.c b/LUFA/Drivers/USB/Class/Host/MassStorage.c index 0a966cf9b..2d7956e9f 100644 --- a/LUFA/Drivers/USB/Class/Host/MassStorage.c +++ b/LUFA/Drivers/USB/Class/Host/MassStorage.c @@ -72,7 +72,7 @@ uint8_t MS_Host_ConfigurePipes(USB_ClassInfo_MS_Host_t* const MSInterfaceInfo, USB_Descriptor_Endpoint_t* EndpointData = DESCRIPTOR_PCAST(ConfigDescriptorData, USB_Descriptor_Endpoint_t); if (EndpointData->EndpointAddress & ENDPOINT_DESCRIPTOR_DIR_IN) - DataINEndpoint = EndpointData; + DataINEndpoint = EndpointData; else DataOUTEndpoint = EndpointData; } |