Refactor application API parameters
This commit is contained in:
		@@ -90,8 +90,10 @@
 | 
			
		||||
#define CFG_TUD_ENDPOINT0_SIZE    64
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
// video streaming endpoint size
 | 
			
		||||
#define CFG_TUD_VIDEO_EP_BUFSIZE  256
 | 
			
		||||
 | 
			
		||||
// The number of video streaming interfaces
 | 
			
		||||
#define CFG_TUD_VIDEO_STREAMING  1
 | 
			
		||||
 | 
			
		||||
//------------- CLASS -------------//
 | 
			
		||||
@@ -100,9 +102,19 @@
 | 
			
		||||
#define CFG_TUD_HID              0
 | 
			
		||||
#define CFG_TUD_MIDI             0
 | 
			
		||||
#define CFG_TUD_AUDIO            0
 | 
			
		||||
// The number of video control interfaces
 | 
			
		||||
#define CFG_TUD_VIDEO            1
 | 
			
		||||
#define CFG_TUD_VENDOR           0
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
//--------------------------------------------------------------------
 | 
			
		||||
// APPLICATION CONFIGURATION
 | 
			
		||||
//--------------------------------------------------------------------
 | 
			
		||||
#define FRAME_WIDTH   128
 | 
			
		||||
#define FRAME_HEIGHT  96
 | 
			
		||||
#define FRAME_RATE    10
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
 }
 | 
			
		||||
#endif
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user