diff options
| author | hathach <[email protected]> | 2019-05-02 14:30:49 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2019-05-02 14:30:49 +0700 |
| commit | f9d9eebfe1dbf462a69e7d3a967b2ad103ae2277 (patch) | |
| tree | 4f5850e95b0912f39f72dfc142ccf7076c164012 /src/common | |
| parent | 45b856e03bbf7cb02540b9e57c775a619d3f07b3 (diff) | |
support hid generic inout #58
- add report descriptor template TUD_HID_REPORT_DESC_GENERIC_INOUT
- add TUD_HID_INOUT_DESCRIPTOR & TUD_HID_INOUT_DESC_LEN
- add hid_generic_inout example
Diffstat (limited to 'src/common')
| -rw-r--r-- | src/common/tusb_types.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/tusb_types.h b/src/common/tusb_types.h index 7d57a7950..909deffa8 100644 --- a/src/common/tusb_types.h +++ b/src/common/tusb_types.h @@ -169,7 +169,7 @@ enum { #define TUSB_DESC_CONFIG_POWER_MA(x) ((x)/2)
-/// Device State
+/// Device State TODO remove
typedef enum
{
TUSB_DEVICE_STATE_UNPLUG = 0 ,
@@ -184,7 +184,7 @@ typedef enum XFER_RESULT_STALLED,
}xfer_result_t;
-enum
+enum // TODO remove
{
DESC_OFFSET_LEN = 0,
DESC_OFFSET_TYPE = 1
|
