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 e0f743c commit b81795eCopy full SHA for b81795e
libraries/drivers/SConscript
@@ -43,6 +43,9 @@ if GetDepend(['BSP_USING_ONCHIP_RTC']):
43
if GetDepend(['BSP_USING_USBD']):
44
src += Glob('drv_usbd.c')
45
46
+if GetDepend(['BSP_USING_USBH']):
47
+ src += ['drv_usbh.c']
48
+
49
path = [cwd]
50
path += [cwd + '/include']
51
path += [cwd + '/include/config']
libraries/drivers/drv_usbh.c
@@ -13,7 +13,7 @@
13
#include<rtthread.h>
14
#include<rtdevice.h>
15
16
-#ifdef BSP_USING_USBHOST
+#ifdef BSP_USING_USBH
17
18
static HCD_HandleTypeDef stm32_hhcd_fs;
19
static struct rt_completion urb_completion;
0 commit comments