Fix compile.
This commit is contained in:
		@@ -115,7 +115,8 @@ extern "C" {
 | 
			
		||||
#define CFG_TUD_AUDIO_FUNC_1_N_CHANNELS_TX            4         // This value is not required by the driver, it parses this information from the descriptor once the alternate interface is set by the host - we use it for the setup
 | 
			
		||||
#define CFG_TUD_AUDIO_EP_SZ_IN                        TUD_AUDIO_EP_SIZE(CFG_TUD_AUDIO_FUNC_1_SAMPLE_RATE, CFG_TUD_AUDIO_FUNC_1_N_BYTES_PER_SAMPLE_TX, CFG_TUD_AUDIO_FUNC_1_N_CHANNELS_TX)
 | 
			
		||||
 | 
			
		||||
#define CFG_TUD_AUDIO_ENABLE_ENCODING                 0
 | 
			
		||||
#define CFG_TUD_AUDIO_ENABLE_ENCODING                 1
 | 
			
		||||
#define CFG_TUD_AUDIO_EP_IN_FLOW_CONTROL              1
 | 
			
		||||
 | 
			
		||||
#if CFG_TUD_AUDIO_ENABLE_ENCODING
 | 
			
		||||
 | 
			
		||||
@@ -129,7 +130,7 @@ extern "C" {
 | 
			
		||||
 | 
			
		||||
#else
 | 
			
		||||
 | 
			
		||||
#define CFG_TUD_AUDIO_FUNC_1_EP_IN_SZ_MAX             4 * CFG_TUD_AUDIO_EP_SZ_IN
 | 
			
		||||
#define CFG_TUD_AUDIO_FUNC_1_EP_IN_SZ_MAX             CFG_TUD_AUDIO_EP_SZ_IN
 | 
			
		||||
#define CFG_TUD_AUDIO_FUNC_1_EP_IN_SW_BUF_SZ          4 * CFG_TUD_AUDIO_EP_SZ_IN
 | 
			
		||||
 | 
			
		||||
#endif
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user