diff options
| author | hathach <[email protected]> | 2020-07-17 23:01:39 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2020-07-17 23:01:39 +0700 |
| commit | 881025afdcdc3e8954163f8cc7337caa8455f594 (patch) | |
| tree | e0849abab0e9054e1fdbf47c11611af360d0e39e /src/class/cdc | |
| parent | 7baeea7a000a7d8f8d0bb2c966d4c2c409205a09 (diff) | |
add new name warning to cdc and midi (skip msc, hid warning for now)
Diffstat (limited to 'src/class/cdc')
| -rw-r--r-- | src/class/cdc/cdc_device.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/class/cdc/cdc_device.h b/src/class/cdc/cdc_device.h index 2d3312b21..9d257bbe9 100644 --- a/src/class/cdc/cdc_device.h +++ b/src/class/cdc/cdc_device.h @@ -34,6 +34,11 @@ //--------------------------------------------------------------------+ // Class Driver Configuration //--------------------------------------------------------------------+ +#if !defined(CFG_TUD_CDC_EP_BUFSIZE) && defined(CFG_TUD_CDC_EPSIZE) + #warning CFG_TUD_CDC_EPSIZE is renamed to CFG_TUD_CDC_EP_BUFSIZE, please update to use the new name + #define CFG_TUD_CDC_EP_BUFSIZE CFG_TUD_CDC_EPSIZE +#endif + #ifndef CFG_TUD_CDC_EP_BUFSIZE #define CFG_TUD_CDC_EP_BUFSIZE (TUD_OPT_HIGH_SPEED ? 512 : 64) #endif |
