projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix accidental struct copies on the stack in the old RNDISEthernet demo TCP code.
[pub/USBasp.git]
/
Demos
/
Device
/
ClassDriver
/
KeyboardMouse
/
Descriptors.h
diff --git
a/Demos/Device/ClassDriver/KeyboardMouse/Descriptors.h
b/Demos/Device/ClassDriver/KeyboardMouse/Descriptors.h
index
ff6f6e5
..
e35e266
100644
(file)
--- a/
Demos/Device/ClassDriver/KeyboardMouse/Descriptors.h
+++ b/
Demos/Device/ClassDriver/KeyboardMouse/Descriptors.h
@@
-7,7
+7,7
@@
*/
/*
*/
/*
- 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
@@
-62,11
+62,11
@@
} 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 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 endpoints. */
#define HID_EPSIZE 8
/** Size in bytes of each of the HID reporting IN endpoints. */
#define HID_EPSIZE 8