Ditch USB_*_SUBCLASS and USB_*_PROTOCOL macros in favor of the standard USB_HID_SUBCLASS_* USB_HID_PROTOCOL_* macros.
This commit is contained in:
@@ -16,8 +16,8 @@ static usb_device_interface_struct_t UsbMouseInterface[] = {{
|
||||
|
||||
static usb_device_interfaces_struct_t UsbMouseInterfaces[USB_MOUSE_INTERFACE_COUNT] = {{
|
||||
USB_CLASS_HID,
|
||||
USB_MOUSE_SUBCLASS,
|
||||
USB_MOUSE_PROTOCOL,
|
||||
USB_HID_SUBCLASS_BOOT,
|
||||
USB_HID_PROTOCOL_MOUSE,
|
||||
USB_MOUSE_INTERFACE_INDEX,
|
||||
UsbMouseInterface,
|
||||
sizeof(UsbMouseInterface) / sizeof(usb_device_interfaces_struct_t),
|
||||
|
||||
Reference in New Issue
Block a user