Remove usb_device_composite_struct_t.speed because it's unused.
This commit is contained in:
@@ -121,7 +121,6 @@ static void USB_DeviceApplicationInit(void)
|
|||||||
SystemCoreClockUpdate();
|
SystemCoreClockUpdate();
|
||||||
CLOCK_EnableUsbfs0Clock(kCLOCK_UsbSrcIrc48M, 48000000U);
|
CLOCK_EnableUsbfs0Clock(kCLOCK_UsbSrcIrc48M, 48000000U);
|
||||||
|
|
||||||
UsbCompositeDevice.speed = USB_SPEED_FULL;
|
|
||||||
UsbCompositeDevice.attach = 0U;
|
UsbCompositeDevice.attach = 0U;
|
||||||
USB_DeviceClassInit(CONTROLLER_ID, &UsbDeviceCompositeConfigList, &UsbCompositeDevice.deviceHandle);
|
USB_DeviceClassInit(CONTROLLER_ID, &UsbDeviceCompositeConfigList, &UsbCompositeDevice.deviceHandle);
|
||||||
UsbCompositeDevice.keyboardHandle = UsbDeviceCompositeConfigList.config[0].classHandle;
|
UsbCompositeDevice.keyboardHandle = UsbDeviceCompositeConfigList.config[0].classHandle;
|
||||||
|
|||||||
@@ -13,7 +13,6 @@
|
|||||||
class_handle_t mouseHandle;
|
class_handle_t mouseHandle;
|
||||||
class_handle_t keyboardHandle;
|
class_handle_t keyboardHandle;
|
||||||
class_handle_t genericHidHandle;
|
class_handle_t genericHidHandle;
|
||||||
uint8_t speed;
|
|
||||||
uint8_t attach;
|
uint8_t attach;
|
||||||
uint8_t currentConfiguration;
|
uint8_t currentConfiguration;
|
||||||
uint8_t currentInterfaceAlternateSetting[USB_COMPOSITE_INTERFACE_COUNT];
|
uint8_t currentInterfaceAlternateSetting[USB_COMPOSITE_INTERFACE_COUNT];
|
||||||
|
|||||||
Reference in New Issue
Block a user