tinyusb: Add fix for tinyusb reading

Closes IDF-2029
This commit is contained in:
Andrei Gramakov
2020-11-06 13:45:42 +01:00
committed by bot
parent f34925537e
commit 1d1896d409
6 changed files with 76 additions and 18 deletions

View File

@@ -42,9 +42,9 @@ extern "C" {
# endif
# if CFG_TUD_CDC
# if (CFG_TUD_CDC_EPSIZE < 4)
# define CFG_TUD_CDC_EPSIZE 4
# warning "CFG_TUD_CDC_EPSIZE was too low and was set to 4"
# if (CFG_TUD_CDC_EP_BUFSIZE < 4)
# define CFG_TUD_CDC_EP_BUFSIZE 4
# warning "CFG_TUD_CDC_EP_BUFSIZE was too low and was set to 4"
# endif
# endif