summaryrefslogtreecommitdiff
path: root/src/portable
diff options
context:
space:
mode:
authorYunhao Tian <[email protected]>2021-12-05 22:40:05 +0800
committerYunhao Tian <[email protected]>2021-12-05 22:40:05 +0800
commit1ffc366aa9bb9c2dda8210956c2ac9a6fbafc88b (patch)
treee27bcc1ac3eb0e91d2a2e43153a84cccc8b71a61 /src/portable
parentf308603a3aeffcf77e83d2cfb1c76a28e543272d (diff)
Change FIFO size to 4KB (not sure)
The datasheet says 2KB FIFO, but accroding to many code examples, the F1C100s has at least 4KB of FIFO memory. This is working with cdc_msc example, but I'm not sure, this should be checked.
Diffstat (limited to 'src/portable')
-rw-r--r--src/portable/sunxi/dcd_sunxi_musb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/portable/sunxi/dcd_sunxi_musb.c b/src/portable/sunxi/dcd_sunxi_musb.c
index 420ce1de0..e164f2c19 100644
--- a/src/portable/sunxi/dcd_sunxi_musb.c
+++ b/src/portable/sunxi/dcd_sunxi_musb.c
@@ -389,7 +389,7 @@ static inline void print_block_list(free_block_t const *blk, unsigned num)
#endif
#if CFG_TUSB_MCU == OPT_MCU_F1C100S
-#define USB_FIFO_SIZE_KB 2
+#define USB_FIFO_SIZE_KB 4
#else
#error "Unsupported MCU"
#endif