diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2015-12-15 21:49:05 +1100 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2015-12-15 21:49:05 +1100 |
commit | 40e1caa2da06d6d4699d5dc3dafb3d34b81f23f7 (patch) | |
tree | dfb9e5e41f168ca797eec03500eab5ff51fed814 /LUFA/Drivers/USB/Core | |
parent | 92e9cb71e290ea7e05d15f4761b8a07d786a8aa9 (diff) | |
download | lufa-40e1caa2da06d6d4699d5dc3dafb3d34b81f23f7.tar.gz lufa-40e1caa2da06d6d4699d5dc3dafb3d34b81f23f7.tar.bz2 lufa-40e1caa2da06d6d4699d5dc3dafb3d34b81f23f7.zip |
Fixed broken USE_RAM_DESCRIPTORS compile time option when the FIXED_NUM_CONFIGURATIONS compile time option is not enabled (thanks to Matlo).
Diffstat (limited to 'LUFA/Drivers/USB/Core')
-rw-r--r-- | LUFA/Drivers/USB/Core/DeviceStandardReq.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/LUFA/Drivers/USB/Core/DeviceStandardReq.c b/LUFA/Drivers/USB/Core/DeviceStandardReq.c index a730711e6..831581569 100644 --- a/LUFA/Drivers/USB/Core/DeviceStandardReq.c +++ b/LUFA/Drivers/USB/Core/DeviceStandardReq.c @@ -152,8 +152,8 @@ static void USB_Device_SetConfiguration(void) #define MemoryAddressSpace MEMSPACE_FLASH #elif defined(USE_EEPROM_DESCRIPTORS) #define MemoryAddressSpace MEMSPACE_EEPROM - #elif defined(USE_SRAM_DESCRIPTORS) - #define MemoryAddressSpace MEMSPACE_SRAM + #elif defined(USE_RAM_DESCRIPTORS) + #define MemoryAddressSpace MEMSPACE_RAM #else uint8_t MemoryAddressSpace; #endif |