Skip to content

Commit 778d122

Browse files
Changed definitions of CFG_TUD_VENDOR_RX_BUFSIZE and CFG_TUD_VENDOR_TX_BUFSIZE in cores/nRF5/TinyUSB/tusb_config.h to check if they are already defined.
1 parent 7b57de6 commit 778d122

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

cores/nRF5/TinyUSB/tusb_config.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,12 @@
7676
#define CFG_TUD_MIDI_TX_BUFSIZE 128
7777

7878
// Vendor FIFO size of TX and RX
79+
#ifndef CFG_TUD_VENDOR_RX_BUFSIZE
7980
#define CFG_TUD_VENDOR_RX_BUFSIZE 64
81+
#endif
82+
#ifndef CFG_TUD_VENDOR_TX_BUFSIZE
8083
#define CFG_TUD_VENDOR_TX_BUFSIZE 64
84+
#endif
8185

8286
#ifdef __cplusplus
8387
}

0 commit comments

Comments
 (0)