Ditch USB_*_SUBCLASS and USB_*_PROTOCOL macros in favor of the standard USB_HID_SUBCLASS_* USB_HID_PROTOCOL_* macros.
This commit is contained in:
@@ -24,8 +24,8 @@ static usb_device_interface_struct_t UsbGenericHidInterface[] = {{
|
||||
|
||||
static usb_device_interfaces_struct_t UsbGenericHidInterfaces[USB_GENERIC_HID_INTERFACE_COUNT] = {{
|
||||
USB_CLASS_HID,
|
||||
USB_GENERIC_HID_SUBCLASS,
|
||||
USB_GENERIC_HID_PROTOCOL,
|
||||
USB_HID_SUBCLASS_NONE,
|
||||
USB_HID_PROTOCOL_NONE,
|
||||
USB_GENERIC_HID_INTERFACE_INDEX,
|
||||
UsbGenericHidInterface,
|
||||
sizeof(UsbGenericHidInterface) / sizeof(usb_device_interfaces_struct_t),
|
||||
|
||||
Reference in New Issue
Block a user