From 474b95e475c167c89a4566b060925a2ba346e9ab Mon Sep 17 00:00:00 2001 From: Robert Fisk Date: Mon, 25 Apr 2016 18:27:30 +1200 Subject: [PATCH] Remove unused HID header --- .../ST/STM32_USB_Host_Library/Class/HID/Src/usbh_hid.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Downstream/Middlewares/ST/STM32_USB_Host_Library/Class/HID/Src/usbh_hid.c b/Downstream/Middlewares/ST/STM32_USB_Host_Library/Class/HID/Src/usbh_hid.c index 557cc9f..d6a4867 100644 --- a/Downstream/Middlewares/ST/STM32_USB_Host_Library/Class/HID/Src/usbh_hid.c +++ b/Downstream/Middlewares/ST/STM32_USB_Host_Library/Class/HID/Src/usbh_hid.c @@ -43,7 +43,6 @@ /* Includes ------------------------------------------------------------------*/ #include "usbh_hid.h" -#include "usbh_hid_parser.h" /** @addtogroup USBH_LIB @@ -107,8 +106,6 @@ static USBH_StatusTypeDef USBH_HID_Process(USBH_HandleTypeDef *phost); static USBH_StatusTypeDef USBH_HID_SOFProcess(USBH_HandleTypeDef *phost); static void USBH_HID_ParseHIDDesc (HID_DescTypeDef *desc, uint8_t *buf); -//extern USBH_StatusTypeDef USBH_HID_MouseInit(USBH_HandleTypeDef *phost); -//extern USBH_StatusTypeDef USBH_HID_KeybdInit(USBH_HandleTypeDef *phost); USBH_ClassTypeDef HID_Class = { @@ -164,12 +161,10 @@ static USBH_StatusTypeDef USBH_HID_InterfaceInit (USBH_HandleTypeDef *phost) if(phost->device.CfgDesc.Itf_Desc[phost->device.current_interface].bInterfaceProtocol == HID_KEYBRD_BOOT_CODE) { USBH_UsrLog ("KeyBoard device found!"); - //HID_Handle->Init = USBH_HID_KeybdInit; } else if(phost->device.CfgDesc.Itf_Desc[phost->device.current_interface].bInterfaceProtocol == HID_MOUSE_BOOT_CODE) { USBH_UsrLog ("Mouse device found!"); - //HID_Handle->Init = USBH_HID_MouseInit; } else {