Merge pull request #579 from frejanordsiek/alllow-serial-buffer-resize-tinyusb

Make definitions for TinyUSB serial TX/RX buffer sizes check if they are already defined (allows easier serial buffer size adjustment)
This commit is contained in:
Ha Thach authored and GitHub committed 2020-10-05 16:14:44 +07:00
commit 944d7d365a
1 file changed
+4
+4
View File
@@ -76,8 +76,12 @@
#define CFG_TUD_MIDI_TX_BUFSIZE 128
// Vendor FIFO size of TX and RX
#ifndef CFG_TUD_VENDOR_RX_BUFSIZE
#define CFG_TUD_VENDOR_RX_BUFSIZE 64
#endif
#ifndef CFG_TUD_VENDOR_TX_BUFSIZE
#define CFG_TUD_VENDOR_TX_BUFSIZE 64
#endif
#ifdef __cplusplus
}