fix(cherryusb): fix typo
This commit is contained in:
parent
df948ad603
commit
4122f6d8b8
|
@ -107,7 +107,7 @@ if RT_USING_CHERRYUSB
|
||||||
|
|
||||||
choice
|
choice
|
||||||
prompt "Select usb device template"
|
prompt "Select usb device template"
|
||||||
default RT_CHERRYUSB_DEVICE_TEMPLATE
|
default RT_CHERRYUSB_DEVICE_TEMPLATE_NONE
|
||||||
config RT_CHERRYUSB_DEVICE_TEMPLATE_NONE
|
config RT_CHERRYUSB_DEVICE_TEMPLATE_NONE
|
||||||
bool "none (Implement it yourself)"
|
bool "none (Implement it yourself)"
|
||||||
config RT_CHERRYUSB_DEVICE_TEMPLATE_CDC_ACM
|
config RT_CHERRYUSB_DEVICE_TEMPLATE_CDC_ACM
|
||||||
|
|
|
@ -107,7 +107,7 @@ if CHERRYUSB
|
||||||
|
|
||||||
choice
|
choice
|
||||||
prompt "Select usb device template"
|
prompt "Select usb device template"
|
||||||
default CHERRYUSB_DEVICE_TEMPLATE
|
default CHERRYUSB_DEVICE_TEMPLATE_NONE
|
||||||
config CHERRYUSB_DEVICE_TEMPLATE_NONE
|
config CHERRYUSB_DEVICE_TEMPLATE_NONE
|
||||||
bool "none (Implement it yourself)"
|
bool "none (Implement it yourself)"
|
||||||
config CHERRYUSB_DEVICE_TEMPLATE_CDC_ACM
|
config CHERRYUSB_DEVICE_TEMPLATE_CDC_ACM
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#include "rtthread.h"
|
#include "rtthread.h"
|
||||||
|
|
||||||
#ifdef PKG_CHERRYUSB_HOST
|
#ifdef RT_CHERRYUSB_HOST
|
||||||
|
|
||||||
#ifndef RT_USING_TIMER_SOFT
|
#ifndef RT_USING_TIMER_SOFT
|
||||||
#error must enable RT_USING_TIMER_SOFT to support timer callback in thread
|
#error must enable RT_USING_TIMER_SOFT to support timer callback in thread
|
||||||
|
|
Loading…
Reference in New Issue