mirror of
https://github.com/hathach/tinyusb.git
synced 2025-01-31 05:52:55 +08:00
- fix wrong class code for TUSB_CLASS_APPLICATION_SPECIFIC
This commit is contained in:
parent
2364b09f80
commit
ef9eb1f2fa
@ -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
|
||||||
*
|
*
|
||||||
|
@ -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;
|
||||||
|
|
||||||
|
@ -70,8 +70,6 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "tusb_option.h"
|
|
||||||
|
|
||||||
//--------------------------------------------------------------------+
|
//--------------------------------------------------------------------+
|
||||||
// EHCI CONFIGURATION & CONSTANTS
|
// EHCI CONFIGURATION & CONSTANTS
|
||||||
//--------------------------------------------------------------------+
|
//--------------------------------------------------------------------+
|
||||||
|
Loading…
x
Reference in New Issue
Block a user