projects
/
pub
/
lufa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Extract interface numbers into enums.
[pub/lufa.git]
/
Demos
/
Device
/
ClassDriver
/
Keyboard
/
Keyboard.c
diff --git
a/Demos/Device/ClassDriver/Keyboard/Keyboard.c
b/Demos/Device/ClassDriver/Keyboard/Keyboard.c
index
b3cc67e
..
68e3fbe
100644
(file)
--- a/
Demos/Device/ClassDriver/Keyboard/Keyboard.c
+++ b/
Demos/Device/ClassDriver/Keyboard/Keyboard.c
@@
-47,7
+47,7
@@
USB_ClassInfo_HID_Device_t Keyboard_HID_Interface =
{
.Config =
{
- .InterfaceNumber =
0
,
+ .InterfaceNumber =
INTERFACE_ID_Keyboard
,
.ReportINEndpoint =
{
.Address = KEYBOARD_EPADDR,