drivers/usbdev: config USBDEV_TRACE_INITIALIDSET when disbale USBDEV_TRACE

usbtrace is valid when enable USBDEV_TRACE or DEBUG_FEATURE && DEBUG_USB,

Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com>
This commit is contained in:
dongjiuzhu1 2023-10-08 17:59:53 +08:00 committed by Xiang Xiao
parent 66b11d8940
commit 68fc3adeff
1 changed files with 2 additions and 2 deletions

View File

@ -126,6 +126,8 @@ config USBDEV_TRACE_STRINGS
extern const struct trace_msg_t g_usb_trace_strings_intdecode[];
#endif
endif # USBDEV_TRACE
config USBDEV_TRACE_INITIALIDSET
int "Initial enable bits"
default 0
@ -134,8 +136,6 @@ config USBDEV_TRACE_INITIALIDSET
time. See the event ID class bit definitions in
include/nuttx/usbdev_trace.h.
endif # USBDEV_TRACE
menuconfig USBDEV_CUSTOM_TXFIFO_SIZE
bool "Custom TX Fifo size"
default n