added new example hid_composite

This commit is contained in:
hathach
2019-09-11 13:00:15 +07:00
parent a337b2a0cb
commit cbf9f6e0dc
7 changed files with 506 additions and 5 deletions

View File

@@ -93,12 +93,8 @@ enum
ITF_NUM_TOTAL
};
#define CONFIG_TOTAL_LEN (TUD_CONFIG_DESC_LEN + TUD_HID_INOUT_DESC_LEN)
// Use Endpoint 2 instead of 1 due to NXP MCU
// LPC 17xx and 40xx endpoint type (bulk/interrupt/iso) are fixed by its number
// 0 control, 1 In, 2 Bulk, 3 Iso, 4 In etc ...
#define EPNUM_HID 0x01
uint8_t const desc_configuration[] =