Merge the structs of UsbBasicKeyboardClass into a single structure.

This commit is contained in:
László Monda
2017-12-04 19:33:53 +01:00
parent c4e79d8ed2
commit ff0e5b0aa3
2 changed files with 24 additions and 37 deletions

View File

@@ -4,7 +4,7 @@
usb_device_class_struct_t UsbGenericHidClass = {
.type = kUSB_DeviceClassTypeHid,
.configurations = USB_DEVICE_CONFIGURATION_COUNT,
.interfaceList = (usb_device_interface_list_t [USB_DEVICE_CONFIGURATION_COUNT]) {{
.interfaceList = (usb_device_interface_list_t[USB_DEVICE_CONFIGURATION_COUNT]) {{
.count = USB_GENERIC_HID_INTERFACE_COUNT,
.interfaces = (usb_device_interfaces_struct_t[USB_GENERIC_HID_INTERFACE_COUNT]) {{
.classCode = USB_CLASS_HID,