projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add branch for the conversion of demos to use standard C header files for configurati...
[pub/USBasp.git]
/
Demos
/
Device
/
Incomplete
/
TestAndMeasurement
/
Descriptors.h
diff --git
a/Demos/Device/Incomplete/TestAndMeasurement/Descriptors.h
b/Demos/Device/Incomplete/TestAndMeasurement/Descriptors.h
index
8876f73
..
e45654a
100644
(file)
--- a/
Demos/Device/Incomplete/TestAndMeasurement/Descriptors.h
+++ b/
Demos/Device/Incomplete/TestAndMeasurement/Descriptors.h
@@
-43,20
+43,20
@@
#include <LUFA/Drivers/USB/USB.h>
\r
\r
/* Macros: */
\r
#include <LUFA/Drivers/USB/USB.h>
\r
\r
/* Macros: */
\r
- /** Endpoint
number
of the TMC notification IN endpoint. */
\r
- #define TMC_NOTIFICATION_EP
NUM 2
\r
+ /** Endpoint
address
of the TMC notification IN endpoint. */
\r
+ #define TMC_NOTIFICATION_EP
ADDR (ENDPOINT_DIR_IN | 2)
\r
\r
\r
- /** Endpoint
number
of the TMC device-to-host data IN endpoint. */
\r
- #define TMC_IN_EP
NUM 3
\r
+ /** Endpoint
address
of the TMC device-to-host data IN endpoint. */
\r
+ #define TMC_IN_EP
ADDR (ENDPOINT_DIR_IN | 3)
\r
\r
\r
- /** Endpoint
number
of the TMC host-to-device data OUT endpoint. */
\r
- #define TMC_OUT_EP
NUM 4
\r
+ /** Endpoint
address
of the TMC host-to-device data OUT endpoint. */
\r
+ #define TMC_OUT_EP
ADDR (ENDPOINT_DIR_OUT | 4)
\r
\r
/** Size in bytes of the TMC data endpoints. */
\r
\r
/** Size in bytes of the TMC data endpoints. */
\r
- #define TMC_IO_EPSIZE 64
\r
+ #define TMC_IO_EPSIZE
64
\r
\r
/** Size in bytes of the TMC notification endpoint. */
\r
\r
/** Size in bytes of the TMC notification endpoint. */
\r
- #define TMC_NOTIFICATION_EPSIZE 8
\r
+ #define TMC_NOTIFICATION_EPSIZE
8
\r
\r
/* Type Defines: */
\r
/** Type define for the device configuration descriptor structure. This must be defined in the
\r
\r
/* Type Defines: */
\r
/** Type define for the device configuration descriptor structure. This must be defined in the
\r