summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsakumisu <[email protected]>2022-02-21 22:25:02 +0800
committersakumisu <[email protected]>2022-02-21 22:25:02 +0800
commita72cded933dcd4a0f22a71298025c30fd0bfc05d (patch)
treea780517b4403f9b07a4d5e18d05d9c288c1c6f8f
parenta6e82a34f48d58876b2351e3e666397141425950 (diff)
use different ep for tempalte,because some usb ip do not support bidirectional
-rw-r--r--demo/msc_ram_template.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/demo/msc_ram_template.c b/demo/msc_ram_template.c
index 70965924..722c2e99 100644
--- a/demo/msc_ram_template.c
+++ b/demo/msc_ram_template.c
@@ -2,7 +2,7 @@
#include "usbd_msc.h"
#define MSC_IN_EP 0x81
-#define MSC_OUT_EP 0x01
+#define MSC_OUT_EP 0x02
#define USBD_VID 0xFFFF
#define USBD_PID 0xFFFF