Remove unused HID header

USG_1.0
Robert Fisk 9 years ago
parent b80b99d9ec
commit 474b95e475

@ -43,7 +43,6 @@
/* Includes ------------------------------------------------------------------*/ /* Includes ------------------------------------------------------------------*/
#include "usbh_hid.h" #include "usbh_hid.h"
#include "usbh_hid_parser.h"
/** @addtogroup USBH_LIB /** @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 USBH_StatusTypeDef USBH_HID_SOFProcess(USBH_HandleTypeDef *phost);
static void USBH_HID_ParseHIDDesc (HID_DescTypeDef *desc, uint8_t *buf); 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 = 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) if(phost->device.CfgDesc.Itf_Desc[phost->device.current_interface].bInterfaceProtocol == HID_KEYBRD_BOOT_CODE)
{ {
USBH_UsrLog ("KeyBoard device found!"); 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) else if(phost->device.CfgDesc.Itf_Desc[phost->device.current_interface].bInterfaceProtocol == HID_MOUSE_BOOT_CODE)
{ {
USBH_UsrLog ("Mouse device found!"); USBH_UsrLog ("Mouse device found!");
//HID_Handle->Init = USBH_HID_MouseInit;
} }
else else
{ {

Loading…
Cancel
Save