summaryrefslogtreecommitdiff
path: root/port/fsdev/usb_dc_fsdev.c
diff options
context:
space:
mode:
authorsakumisu <[email protected]>2025-07-21 21:19:41 +0800
committersakumisu <[email protected]>2025-07-21 21:22:54 +0800
commitddda03c4cb854041e38d8d28ffa3fcdb571b4cab (patch)
tree05fa7694fadcfc4963f4622e0b8d8ccab627d28b /port/fsdev/usb_dc_fsdev.c
parent96ab19e3983e7080223db66a709e312eae023309 (diff)
update(port): remove CONFIG_USBDEV_EP_NUM & CONFIG_USBHOST_PIPE_NUM for some ips because they are constant
Signed-off-by: sakumisu <[email protected]>
Diffstat (limited to 'port/fsdev/usb_dc_fsdev.c')
-rw-r--r--port/fsdev/usb_dc_fsdev.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/port/fsdev/usb_dc_fsdev.c b/port/fsdev/usb_dc_fsdev.c
index f512fb87..3e1fa22b 100644
--- a/port/fsdev/usb_dc_fsdev.c
+++ b/port/fsdev/usb_dc_fsdev.c
@@ -20,9 +20,8 @@
#define CONFIG_USB_FSDEV_RAM_SIZE 512
#endif
-#ifndef CONFIG_USBDEV_EP_NUM
+#undef CONFIG_USBDEV_EP_NUM
#define CONFIG_USBDEV_EP_NUM 8
-#endif
#define USB ((USB_TypeDef *)g_usbdev_bus[0].reg_base)