From 0247fe17b1018dfe006fd0fe32e3635c12a0c55e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A1szl=C3=B3=20Monda?= Date: Mon, 29 Feb 2016 15:27:34 +0100 Subject: [PATCH] Remove usb_device_composite_struct_t.speed because it's unused. --- right/composite.c | 1 - right/composite.h | 1 - 2 files changed, 2 deletions(-) diff --git a/right/composite.c b/right/composite.c index 10009ef..4062572 100644 --- a/right/composite.c +++ b/right/composite.c @@ -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; diff --git a/right/composite.h b/right/composite.h index 430e89d..2805705 100644 --- a/right/composite.h +++ b/right/composite.h @@ -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];