aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2009-07-16 08:32:20 +0000
committerDean Camera <dean@fourwalledcubicle.com>2009-07-16 08:32:20 +0000
commit32086e4f1455f8b595f7b3817699eb8659b50553 (patch)
tree2b4ce9e61a728bdddc206947a63b17b4b5870cef /LUFA/Drivers/USB
parent37f8a84f35dadf27a6f8997b675238269f854b45 (diff)
downloadlufa-32086e4f1455f8b595f7b3817699eb8659b50553.tar.gz
lufa-32086e4f1455f8b595f7b3817699eb8659b50553.tar.bz2
lufa-32086e4f1455f8b595f7b3817699eb8659b50553.zip
Fix small error in last commit preventing compilation in some circumstances.
Diffstat (limited to 'LUFA/Drivers/USB')
-rw-r--r--LUFA/Drivers/USB/LowLevel/DevChapter9.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/LUFA/Drivers/USB/LowLevel/DevChapter9.c b/LUFA/Drivers/USB/LowLevel/DevChapter9.c
index deaa9c038..10dce7298 100644
--- a/LUFA/Drivers/USB/LowLevel/DevChapter9.c
+++ b/LUFA/Drivers/USB/LowLevel/DevChapter9.c
@@ -144,8 +144,9 @@ static void USB_Device_SetConfiguration(void)
if (CALLBACK_USB_GetDescriptor((DTYPE_Device << 8), 0, (void*)&DevDescriptorPtr
#if !defined(USE_FLASH_DESCRIPTORS) && !defined(USE_EEPROM_DESCRIPTORS) && !defined(USE_RAM_DESCRIPTORS)
- , &MemoryAddressSpace) == NO_DESCRIPTOR)
+ , &MemoryAddressSpace
#endif
+ ) == NO_DESCRIPTOR)
{
return;
}