Skip to content

Commit 4122f6d

Browse files
sakumisumysterywolf
authored andcommitted
fix(cherryusb): fix typo
1 parent df948ad commit 4122f6d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Diff for: components/drivers/usb/cherryusb/Kconfig

+1-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ if RT_USING_CHERRYUSB
107107

108108
choice
109109
prompt "Select usb device template"
110-
default RT_CHERRYUSB_DEVICE_TEMPLATE
110+
default RT_CHERRYUSB_DEVICE_TEMPLATE_NONE
111111
config RT_CHERRYUSB_DEVICE_TEMPLATE_NONE
112112
bool "none (Implement it yourself)"
113113
config RT_CHERRYUSB_DEVICE_TEMPLATE_CDC_ACM

Diff for: components/drivers/usb/cherryusb/Kconfig.cherryusb

+1-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ if CHERRYUSB
107107

108108
choice
109109
prompt "Select usb device template"
110-
default CHERRYUSB_DEVICE_TEMPLATE
110+
default CHERRYUSB_DEVICE_TEMPLATE_NONE
111111
config CHERRYUSB_DEVICE_TEMPLATE_NONE
112112
bool "none (Implement it yourself)"
113113
config CHERRYUSB_DEVICE_TEMPLATE_CDC_ACM

Diff for: components/drivers/usb/cherryusb/platform/rtthread/usb_check.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#include "rtthread.h"
22

3-
#ifdef PKG_CHERRYUSB_HOST
3+
#ifdef RT_CHERRYUSB_HOST
44

55
#ifndef RT_USING_TIMER_SOFT
66
#error must enable RT_USING_TIMER_SOFT to support timer callback in thread

0 commit comments

Comments
 (0)