- fix wrong class code for TUSB_CLASS_APPLICATION_SPECIFIC

This commit is contained in:
hathach 2013-03-09 14:31:37 +07:00
parent 2364b09f80
commit ef9eb1f2fa
3 changed files with 3 additions and 5 deletions

View File

@ -51,12 +51,12 @@
#ifndef _TUSB_HID_DEVICE_H_ #ifndef _TUSB_HID_DEVICE_H_
#define _TUSB_HID_DEVICE_H_ #define _TUSB_HID_DEVICE_H_
#include "hid.h"
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
#include "hid.h"
#ifdef DEVICE_ROMDRIVER #ifdef DEVICE_ROMDRIVER
/** \brief Initialize HID driver /** \brief Initialize HID driver
* *

View File

@ -141,7 +141,7 @@ typedef enum {
TUSB_CLASS_DIAGNOSTIC = 0xDC , TUSB_CLASS_DIAGNOSTIC = 0xDC ,
TUSB_CLASS_WIRELESS_CONTROLLER = 0xE0 , TUSB_CLASS_WIRELESS_CONTROLLER = 0xE0 ,
TUSB_CLASS_MISC = 0xEF , TUSB_CLASS_MISC = 0xEF ,
TUSB_CLASS_APPLICATION_SPECIFIC = 0xEF , TUSB_CLASS_APPLICATION_SPECIFIC = 0xFE ,
TUSB_CLASS_VENDOR_SPECIFIC = 0xFF TUSB_CLASS_VENDOR_SPECIFIC = 0xFF
}tusb_std_class_code_t; }tusb_std_class_code_t;

View File

@ -70,8 +70,6 @@
extern "C" { extern "C" {
#endif #endif
#include "tusb_option.h"
//--------------------------------------------------------------------+ //--------------------------------------------------------------------+
// EHCI CONFIGURATION & CONSTANTS // EHCI CONFIGURATION & CONSTANTS
//--------------------------------------------------------------------+ //--------------------------------------------------------------------+