projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
usb-keyboard: remove duplicate "end collection" marker from the report descriptor
[bertos.git]
/
bertos
/
drv
/
usb_keyboard.c
diff --git
a/bertos/drv/usb_keyboard.c
b/bertos/drv/usb_keyboard.c
index f38c66a13446e5115841ced7a26cb010ece214ea..63c39c57f4c652673c4a833b90db6deca2fa937c 100644
(file)
--- a/
bertos/drv/usb_keyboard.c
+++ b/
bertos/drv/usb_keyboard.c
@@
-148,8
+148,7
@@
static const uint8_t hid_report_descriptor[] =
0x19, 0x00, // Usage Minimum (0)
0x29, 0x65, // Usage Maximum (101)
0x81, 0x00, // Input (Data, Array)
- 0xC0, // End Collection
- 0xC0 // End Collection
+ 0xC0, // End Collection
};
static const usb_hid_descriptor_t usb_hid_descriptor =