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];