projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Changed per-device controller preprocessor checks over to per-device series for bette...
[pub/USBasp.git]
/
LUFA
/
Drivers
/
USB
/
LowLevel
/
Device.h
diff --git
a/LUFA/Drivers/USB/LowLevel/Device.h
b/LUFA/Drivers/USB/LowLevel/Device.h
index
31d612c
..
6661b9e
100644
(file)
--- a/
LUFA/Drivers/USB/LowLevel/Device.h
+++ b/
LUFA/Drivers/USB/LowLevel/Device.h
@@
-48,9
+48,14
@@
#include "../HighLevel/StdDescriptors.h"
\r
#include "Endpoint.h"
\r
\r
#include "../HighLevel/StdDescriptors.h"
\r
#include "Endpoint.h"
\r
\r
+ /* Preprocessor Checks: */
\r
+ #if (defined(USE_RAM_DESCRIPTORS) && defined(USE_EEPROM_DESCRIPTORS))
\r
+ #error USE_RAM_DESCRIPTORS and USE_EEPROM_DESCRIPTORS are mutually exclusive.
\r
+ #endif
\r
+
\r
/* Public Interface - May be used in end-application: */
\r
/* Macros: */
\r
/* Public Interface - May be used in end-application: */
\r
/* Macros: */
\r
- #if defined(USB_
FULL_CONTROLLER) || defined(USB_MODIFIED_FULL_CONTROLLE
R) || defined(__DOXYGEN__)
\r
+ #if defined(USB_
SERIES_4_AVR) || defined(USB_SERIES_6_AVR) || defined(USB_SERIES_7_AV
R) || defined(__DOXYGEN__)
\r
/** Mask for the Options parameter of the \ref USB_Init() function. This indicates that the
\r
* USB interface should be initialized in low speed (1.5Mb/s) mode.
\r
*
\r
/** Mask for the Options parameter of the \ref USB_Init() function. This indicates that the
\r
* USB interface should be initialized in low speed (1.5Mb/s) mode.
\r
*
\r