projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Conditionally add available address spaces to the address space enum, for multiple...
[pub/USBasp.git]
/
LUFA
/
Drivers
/
USB
/
Core
/
DeviceStandardReq.h
diff --git
a/LUFA/Drivers/USB/Core/DeviceStandardReq.h
b/LUFA/Drivers/USB/Core/DeviceStandardReq.h
index
26a55a4
..
24b3e60
100644
(file)
--- a/
LUFA/Drivers/USB/Core/DeviceStandardReq.h
+++ b/
LUFA/Drivers/USB/Core/DeviceStandardReq.h
@@
-71,8
+71,12
@@
*/
enum USB_DescriptorMemorySpaces_t
{
*/
enum USB_DescriptorMemorySpaces_t
{
+ #if defined(ARCH_HAS_FLASH_ADDRESS_SPACE) || defined(__DOXYGEN__)
MEMSPACE_FLASH = 0, /**< Indicates the requested descriptor is located in FLASH memory. */
MEMSPACE_FLASH = 0, /**< Indicates the requested descriptor is located in FLASH memory. */
+ #endif
+ #if defined(ARCH_HAS_EEPROM_ADDRESS_SPACE) || defined(__DOXYGEN__)
MEMSPACE_EEPROM = 1, /**< Indicates the requested descriptor is located in EEPROM memory. */
MEMSPACE_EEPROM = 1, /**< Indicates the requested descriptor is located in EEPROM memory. */
+ #endif
MEMSPACE_RAM = 2, /**< Indicates the requested descriptor is located in RAM memory. */
};
#endif
MEMSPACE_RAM = 2, /**< Indicates the requested descriptor is located in RAM memory. */
};
#endif