8787uint8_t const desc_configuration_cdc_msc [] =
8888{
8989 // Interface count, string index, total length, attribute, power in mA
90- TUD_CONFIG_DESCRIPTOR (1 , ITF_NUM_TOTAL , 0 , TUD_CONFIG_DESC_LEN + TUD_CDC_DESC_LEN + TUD_MSC_DESC_LEN , TUSB_DESC_CONFIG_ATT_REMOTE_WAKEUP , 100 ),
90+ TUD_CONFIG_DESCRIPTOR (1 , ITF_NUM_TOTAL , 0 , TUD_CONFIG_DESC_LEN + TUD_CDC_DESC_LEN + TUD_MSC_DESC_LEN , 0 , 100 ),
9191
9292 // Interface number, string index, EP notification address and size, EP data address (out, in) and size.
9393 TUD_CDC_DESCRIPTOR (ITF_NUM_CDC , ITF_STR_CDC , 0x81 , 8 , 0x02 , 0x82 , 64 ),
@@ -99,7 +99,7 @@ uint8_t const desc_configuration_cdc_msc[] =
9999uint8_t const desc_configuration_cdc_only [] =
100100{
101101 // Interface count, string index, total length, attribute, power in mA
102- TUD_CONFIG_DESCRIPTOR (1 , ITF_NUM_TOTAL - 1 , 0 , TUD_CONFIG_DESC_LEN + TUD_CDC_DESC_LEN , TUSB_DESC_CONFIG_ATT_REMOTE_WAKEUP , 100 ),
102+ TUD_CONFIG_DESCRIPTOR (1 , ITF_NUM_TOTAL - 1 , 0 , TUD_CONFIG_DESC_LEN + TUD_CDC_DESC_LEN , 0 , 100 ),
103103
104104 // Interface number, string index, EP notification address and size, EP data address (out, in) and size.
105105 TUD_CDC_DESCRIPTOR (ITF_NUM_CDC , ITF_STR_CDC , 0x81 , 8 , 0x02 , 0x82 , 64 ),
0 commit comments