projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Minor documentation fixes.
[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
..
a319b7a
100644
(file)
--- a/
LUFA/Drivers/USB/Core/DeviceStandardReq.h
+++ b/
LUFA/Drivers/USB/Core/DeviceStandardReq.h
@@
-1,13
+1,13
@@
/*
LUFA Library
/*
LUFA Library
- Copyright (C) Dean Camera, 201
1
.
+ Copyright (C) Dean Camera, 201
2
.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
- Copyright 201
1
Dean Camera (dean [at] fourwalledcubicle [dot] com)
+ Copyright 201
2
Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
@@
-43,7
+43,7
@@
/* Includes: */
#include "../../../Common/Common.h"
/* Includes: */
#include "../../../Common/Common.h"
- #include "USBMode.h"
+ #include "USBMode.h"
#include "StdDescriptors.h"
#include "Events.h"
#include "StdRequestType.h"
#include "StdDescriptors.h"
#include "Events.h"
#include "StdRequestType.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
@@
-87,7
+91,7
@@
*
* \ingroup Group_Device
*/
*
* \ingroup Group_Device
*/
- extern uint8_t USB_ConfigurationNumber;
+ extern uint8_t USB_
Device_
ConfigurationNumber;
#if !defined(NO_DEVICE_REMOTE_WAKEUP)
/** Indicates if the host is currently allowing the device to issue remote wakeup events. If this
#if !defined(NO_DEVICE_REMOTE_WAKEUP)
/** Indicates if the host is currently allowing the device to issue remote wakeup events. If this
@@
-104,7
+108,7
@@
*
* \ingroup Group_Device
*/
*
* \ingroup Group_Device
*/
- extern bool USB_RemoteWakeupEnabled;
+ extern bool USB_
Device_
RemoteWakeupEnabled;
#endif
#if !defined(NO_DEVICE_SELF_POWER)
#endif
#if !defined(NO_DEVICE_SELF_POWER)
@@
-114,7
+118,7
@@
*
* \ingroup Group_Device
*/
*
* \ingroup Group_Device
*/
- extern bool USB_CurrentlySelfPowered;
+ extern bool USB_
Device_
CurrentlySelfPowered;
#endif
/* Private Interface - For use in library only: */
#endif
/* Private Interface - For use in library only: */