diff options
| author | hathach <[email protected]> | 2021-07-21 17:00:02 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2021-07-22 00:12:01 +0700 |
| commit | 37cac414f83fb939d8b9e4c41d5fa49a6f0e309e (patch) | |
| tree | d93c9c75dc743384350fc6f3e3951ad835867269 /src/device/dcd.h | |
| parent | a226dbaa4d1df9e5258e7f4dfacdc76906b08084 (diff) | |
fix ci
Diffstat (limited to 'src/device/dcd.h')
| -rw-r--r-- | src/device/dcd.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/src/device/dcd.h b/src/device/dcd.h index 11f8ca5d3..8bfad9b72 100644 --- a/src/device/dcd.h +++ b/src/device/dcd.h @@ -30,13 +30,24 @@ #include "common/tusb_common.h" #include "osal/osal.h" #include "common/tusb_fifo.h" - #include "dcd_attr.h" #ifdef __cplusplus extern "C" { #endif +//--------------------------------------------------------------------+ +// Configuration +//--------------------------------------------------------------------+ + +#ifndef CFG_TUD_ENDPPOINT_MAX + #define CFG_TUD_ENDPPOINT_MAX DCD_ATTR_ENDPOINT_MAX +#endif + +//--------------------------------------------------------------------+ +// MACRO CONSTANT TYPEDEF PROTYPES +//--------------------------------------------------------------------+ + typedef enum { DCD_EVENT_INVALID = 0, |
