We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 879f78a commit 7ed5503Copy full SHA for 7ed5503
hw/bsp/ch32v20x/family.c
@@ -32,7 +32,7 @@ void USBHD_IRQHandler(void) {
32
#if CFG_TUD_WCH_USBIP_USBFS
33
tud_int_handler(0);
34
#endif
35
- #if CFG_TUH_WCH_USBIP_USBFS
+ #if defined(CFG_TUH_WCH_USBIP_USBFS) && CFG_TUH_WCH_USBIP_USBFS
36
tuh_int_handler(0);
37
38
}
src/portable/wch/hcd_ch32_usbfs.c
@@ -26,7 +26,7 @@
26
27
#include "tusb_option.h"
28
29
-#if CFG_TUH_ENABLED && defined(TUP_USBIP_WCH_USBFS) && CFG_TUH_WCH_USBIP_USBFS
+#if CFG_TUH_ENABLED && defined(TUP_USBIP_WCH_USBFS) && defined(CFG_TUH_WCH_USBIP_USBFS) && CFG_TUH_WCH_USBIP_USBFS
30
31
#include "host/hcd.h"
#include "host/usbh.h"
0 commit comments