Remove usb_device_composite_struct_t.speed because it's unused.

This commit is contained in:
László Monda
2016-02-29 15:27:34 +01:00
parent 3f7bad3c19
commit 0247fe17b1
2 changed files with 0 additions and 2 deletions

View File

@@ -121,7 +121,6 @@ static void USB_DeviceApplicationInit(void)
SystemCoreClockUpdate();
CLOCK_EnableUsbfs0Clock(kCLOCK_UsbSrcIrc48M, 48000000U);
UsbCompositeDevice.speed = USB_SPEED_FULL;
UsbCompositeDevice.attach = 0U;
USB_DeviceClassInit(CONTROLLER_ID, &UsbDeviceCompositeConfigList, &UsbCompositeDevice.deviceHandle);
UsbCompositeDevice.keyboardHandle = UsbDeviceCompositeConfigList.config[0].classHandle;

View File

@@ -13,7 +13,6 @@
class_handle_t mouseHandle;
class_handle_t keyboardHandle;
class_handle_t genericHidHandle;
uint8_t speed;
uint8_t attach;
uint8_t currentConfiguration;
uint8_t currentInterfaceAlternateSetting[USB_COMPOSITE_INTERFACE_COUNT];