usb: Correct logging level in Audio class.
Configuration file was left unchanged after development of USB Audio class. Deleted configs should never be present. Signed-off-by: Emil Obalski <emil.obalski@nordicsemi.no>
This commit is contained in:
parent
e37c785356
commit
4f42b4413b
|
@ -7,11 +7,8 @@ CONFIG_USB_DEVICE_PRODUCT="Zephyr USB audio sample"
|
|||
|
||||
#LOG subsystem related configs
|
||||
CONFIG_LOG=y
|
||||
CONFIG_LOG_DEFAULT_LEVEL=4
|
||||
CONFIG_LOG_BUFFER_SIZE=8192
|
||||
CONFIG_USB_DRIVER_LOG_LEVEL_ERR=y
|
||||
CONFIG_USB_DEVICE_LOG_LEVEL_ERR=y
|
||||
CONFIG_USB_AUDIO_LOG_LEVEL_ERR=y
|
||||
|
||||
#net buf options
|
||||
CONFIG_NET_BUF=y
|
||||
|
|
|
@ -7,11 +7,8 @@ CONFIG_USB_DEVICE_PRODUCT="Zephyr USB audio sample"
|
|||
|
||||
#LOG subsystem related configs
|
||||
CONFIG_LOG=y
|
||||
CONFIG_LOG_DEFAULT_LEVEL=4
|
||||
CONFIG_LOG_BUFFER_SIZE=8192
|
||||
CONFIG_USB_DRIVER_LOG_LEVEL_ERR=y
|
||||
CONFIG_USB_DEVICE_LOG_LEVEL_ERR=y
|
||||
CONFIG_USB_AUDIO_LOG_LEVEL_ERR=y
|
||||
|
||||
#net buf options
|
||||
CONFIG_NET_BUF=y
|
||||
|
|
|
@ -761,8 +761,7 @@ static int audio_custom_handler(struct usb_setup_packet *pSetup, int32_t *len,
|
|||
static int audio_class_handle_req(struct usb_setup_packet *pSetup,
|
||||
int32_t *len, uint8_t **data)
|
||||
{
|
||||
LOG_INF("bmRequestType 0x%02x, bRequest 0x%02x, wValue 0x%04x,"
|
||||
"wIndex 0x%04x, wLength 0x%04x",
|
||||
LOG_DBG("bmRT 0x%02x, bR 0x%02x, wV 0x%04x, wI 0x%04x, wL 0x%04x",
|
||||
pSetup->bmRequestType, pSetup->bRequest, pSetup->wValue,
|
||||
pSetup->wIndex, pSetup->wLength);
|
||||
|
||||
|
|
Loading…
Reference in a new issue