projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
usb-mouse: do not set bDeviceClass in the device descriptor
[bertos.git]
/
bertos
/
drv
/
usb_mouse.c
diff --git
a/bertos/drv/usb_mouse.c
b/bertos/drv/usb_mouse.c
index 401dc33168b24b372220d05ce61e9b34cd4fdc01..abf44f4a149282a8c213014a799b71629870e621 100644
(file)
--- a/
bertos/drv/usb_mouse.c
+++ b/
bertos/drv/usb_mouse.c
@@
-73,7
+73,7
@@
static usb_device_descriptor_t usb_hid_device_descriptor =
.bLength = sizeof(usb_hid_device_descriptor),
.bDescriptorType = USB_DT_DEVICE,
.bcdUSB = 0x100,
- .bDeviceClass =
USB_CLASS_HID
,
+ .bDeviceClass =
0
,
.bDeviceSubClass = 0,
.bDeviceProtocol = 0,
.idVendor = USB_HID_VENDOR_ID,