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
/
Host
/
LowLevel
/
GenericHIDHost
/
ConfigDescriptor.h
diff --git
a/Demos/Host/LowLevel/GenericHIDHost/ConfigDescriptor.h
b/Demos/Host/LowLevel/GenericHIDHost/ConfigDescriptor.h
index
4614893
..
547f154
100644
(file)
--- a/
Demos/Host/LowLevel/GenericHIDHost/ConfigDescriptor.h
+++ b/
Demos/Host/LowLevel/GenericHIDHost/ConfigDescriptor.h
@@
-42,11
+42,11
@@
#include "GenericHIDHost.h"
/* Macros: */
#include "GenericHIDHost.h"
/* Macros: */
- /** Pipe
number
for the HID data IN pipe. */
- #define HID_DATA_IN_PIPE
1
+ /** Pipe
address
for the HID data IN pipe. */
+ #define HID_DATA_IN_PIPE
(PIPE_DIR_IN | 1)
- /** Pipe
number
for the HID data OUT pipe. */
- #define HID_DATA_OUT_PIPE
2
+ /** Pipe
address
for the HID data OUT pipe. */
+ #define HID_DATA_OUT_PIPE
(PIPE_DIR_OUT | 2)
/* Enums: */
/** Enum for the possible return codes of the \ref ProcessConfigurationDescriptor() function. */
/* Enums: */
/** Enum for the possible return codes of the \ref ProcessConfigurationDescriptor() function. */