mirror of
https://github.com/hathach/tinyusb.git
synced 2025-02-19 15:40:41 +00:00
Move frame settings to usb_descriptors.h
This commit is contained in:
parent
4ca466b00b
commit
831443a2dc
@ -29,6 +29,7 @@
|
|||||||
|
|
||||||
#include "bsp/board.h"
|
#include "bsp/board.h"
|
||||||
#include "tusb.h"
|
#include "tusb.h"
|
||||||
|
#include "usb_descriptors.h"
|
||||||
|
|
||||||
#include "images.h"
|
#include "images.h"
|
||||||
//--------------------------------------------------------------------+
|
//--------------------------------------------------------------------+
|
||||||
|
@ -105,14 +105,6 @@
|
|||||||
// video streaming endpoint size
|
// video streaming endpoint size
|
||||||
#define CFG_TUD_VIDEO_STREAMING_EP_BUFSIZE 256
|
#define CFG_TUD_VIDEO_STREAMING_EP_BUFSIZE 256
|
||||||
|
|
||||||
//--------------------------------------------------------------------
|
|
||||||
// APPLICATION CONFIGURATION
|
|
||||||
//--------------------------------------------------------------------
|
|
||||||
#define FRAME_WIDTH 128
|
|
||||||
#define FRAME_HEIGHT 96
|
|
||||||
#define FRAME_RATE 10
|
|
||||||
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
@ -33,6 +33,10 @@
|
|||||||
#define UVC_ENTITY_CAP_INPUT_TERMINAL 0x01
|
#define UVC_ENTITY_CAP_INPUT_TERMINAL 0x01
|
||||||
#define UVC_ENTITY_CAP_OUTPUT_TERMINAL 0x02
|
#define UVC_ENTITY_CAP_OUTPUT_TERMINAL 0x02
|
||||||
|
|
||||||
|
#define FRAME_WIDTH 128
|
||||||
|
#define FRAME_HEIGHT 96
|
||||||
|
#define FRAME_RATE 10
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
ITF_NUM_VIDEO_CONTROL = 0,
|
ITF_NUM_VIDEO_CONTROL = 0,
|
||||||
ITF_NUM_VIDEO_STREAMING,
|
ITF_NUM_VIDEO_STREAMING,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user