Ditch USB_*_SUBCLASS and USB_*_PROTOCOL macros in favor of the standard USB_HID_SUBCLASS_* USB_HID_PROTOCOL_* macros.

This commit is contained in:
László Monda
2016-03-03 22:02:28 +01:00
parent 55e5643bf0
commit df63abeb3a
8 changed files with 20 additions and 31 deletions

View File

@@ -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),