summaryrefslogtreecommitdiff
path: root/components/drivers/usb
diff options
context:
space:
mode:
authorsakumisu <[email protected]>2024-07-12 15:44:59 +0800
committerMeco Man <[email protected]>2024-07-12 20:31:31 +0800
commit4122f6d8b898fa26ff528dce4d1f8afaa829e8a2 (patch)
treedfe91cd08e28a2e8e23ec130920d56c4e1913fe8 /components/drivers/usb
parentdf948ad60358d17a060ef5b92d720f0aa08acae5 (diff)
fix(cherryusb): fix typo
Diffstat (limited to 'components/drivers/usb')
-rw-r--r--components/drivers/usb/cherryusb/Kconfig2
-rw-r--r--components/drivers/usb/cherryusb/Kconfig.cherryusb2
-rw-r--r--components/drivers/usb/cherryusb/platform/rtthread/usb_check.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/components/drivers/usb/cherryusb/Kconfig b/components/drivers/usb/cherryusb/Kconfig
index 3e9ce5f1d9..abcb372fc3 100644
--- a/components/drivers/usb/cherryusb/Kconfig
+++ b/components/drivers/usb/cherryusb/Kconfig
@@ -107,7 +107,7 @@ if RT_USING_CHERRYUSB
choice
prompt "Select usb device template"
- default RT_CHERRYUSB_DEVICE_TEMPLATE
+ default RT_CHERRYUSB_DEVICE_TEMPLATE_NONE
config RT_CHERRYUSB_DEVICE_TEMPLATE_NONE
bool "none (Implement it yourself)"
config RT_CHERRYUSB_DEVICE_TEMPLATE_CDC_ACM
diff --git a/components/drivers/usb/cherryusb/Kconfig.cherryusb b/components/drivers/usb/cherryusb/Kconfig.cherryusb
index 4d44a7506d..0e36e73bb4 100644
--- a/components/drivers/usb/cherryusb/Kconfig.cherryusb
+++ b/components/drivers/usb/cherryusb/Kconfig.cherryusb
@@ -107,7 +107,7 @@ if CHERRYUSB
choice
prompt "Select usb device template"
- default CHERRYUSB_DEVICE_TEMPLATE
+ default CHERRYUSB_DEVICE_TEMPLATE_NONE
config CHERRYUSB_DEVICE_TEMPLATE_NONE
bool "none (Implement it yourself)"
config CHERRYUSB_DEVICE_TEMPLATE_CDC_ACM
diff --git a/components/drivers/usb/cherryusb/platform/rtthread/usb_check.c b/components/drivers/usb/cherryusb/platform/rtthread/usb_check.c
index d4baf03e58..643aa3ddd6 100644
--- a/components/drivers/usb/cherryusb/platform/rtthread/usb_check.c
+++ b/components/drivers/usb/cherryusb/platform/rtthread/usb_check.c
@@ -1,6 +1,6 @@
#include "rtthread.h"
-#ifdef PKG_CHERRYUSB_HOST
+#ifdef RT_CHERRYUSB_HOST
#ifndef RT_USING_TIMER_SOFT
#error must enable RT_USING_TIMER_SOFT to support timer callback in thread