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
/
LowLevel
/
KeyboardMouse
/
Descriptors.h
diff --git
a/Demos/Device/LowLevel/KeyboardMouse/Descriptors.h
b/Demos/Device/LowLevel/KeyboardMouse/Descriptors.h
index
573cb65
..
178f5ed
100644
(file)
--- a/
Demos/Device/LowLevel/KeyboardMouse/Descriptors.h
+++ b/
Demos/Device/LowLevel/KeyboardMouse/Descriptors.h
@@
-65,14
+65,14
@@
} USB_Descriptor_Configuration_t;
/* Macros: */
} USB_Descriptor_Configuration_t;
/* Macros: */
- /** Endpoint
number
of the Keyboard HID reporting IN endpoint. */
- #define KEYBOARD_IN_EP
NUM 1
+ /** Endpoint
address
of the Keyboard HID reporting IN endpoint. */
+ #define KEYBOARD_IN_EP
ADDR (ENDPOINT_DIR_IN | 1)
- /** Endpoint
number
of the Keyboard HID reporting OUT endpoint. */
- #define KEYBOARD_OUT_EP
NUM 2
+ /** Endpoint
address
of the Keyboard HID reporting OUT endpoint. */
+ #define KEYBOARD_OUT_EP
ADDR (ENDPOINT_DIR_OUT | 2)
- /** Endpoint
number
of the Mouse HID reporting IN endpoint. */
- #define MOUSE_IN_EP
NUM 3
+ /** Endpoint
address
of the Mouse HID reporting IN endpoint. */
+ #define MOUSE_IN_EP
ADDR (ENDPOINT_DIR_IN | 3)
/** Size in bytes of each of the HID reporting IN and OUT endpoints. */
#define HID_EPSIZE 8
/** Size in bytes of each of the HID reporting IN and OUT endpoints. */
#define HID_EPSIZE 8