revise argument order for TUD_CONFIG_DESCRIPTOR macro
This commit is contained in:
		@@ -141,8 +141,8 @@ enum
 | 
			
		||||
 | 
			
		||||
uint8_t const desc_configuration[] =
 | 
			
		||||
{
 | 
			
		||||
  // Interface count, string index, total length, attribute, power in mA, config number
 | 
			
		||||
  TUD_CONFIG_DESCRIPTOR(ITF_NUM_TOTAL, 0, CONFIG_TOTAL_LEN, TUSB_DESC_CONFIG_ATT_REMOTE_WAKEUP, 100, 1),
 | 
			
		||||
  // Config number, interface count, string index, total length, attribute, power in mA
 | 
			
		||||
  TUD_CONFIG_DESCRIPTOR(1, ITF_NUM_TOTAL, 0, CONFIG_TOTAL_LEN, TUSB_DESC_CONFIG_ATT_REMOTE_WAKEUP, 100),
 | 
			
		||||
 | 
			
		||||
#if CFG_TUD_CDC
 | 
			
		||||
  // Interface number, string index, EP notification address and size, EP data address (out, in) and size.
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user