summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsakimisu <[email protected]>2023-01-05 20:47:32 +0800
committersakimisu <[email protected]>2023-01-05 20:49:20 +0800
commit93c069ac67409639be64872cf985cb992f7ef037 (patch)
treed0b7feb1c5760dc930897d001f65148b34d35742
parent0be8327785de75029f1b27c899edfbbd1f62549f (diff)
remove align check macro
-rw-r--r--port/ch32/usb_dc_usbfs.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/port/ch32/usb_dc_usbfs.c b/port/ch32/usb_dc_usbfs.c
index f404c41b..b2241b02 100644
--- a/port/ch32/usb_dc_usbfs.c
+++ b/port/ch32/usb_dc_usbfs.c
@@ -4,9 +4,6 @@
#ifdef CONFIG_USB_HS
#error "usb fs do not support hs"
#endif
-#ifndef CONFIG_USBDEV_ALIGN_CHECK_DISABLE
-#error "ch32 ip must disable align check"
-#endif
#ifndef USBD_IRQHandler
#define USBD_IRQHandler OTG_FS_IRQHandler //use actual usb irq name instead