Skip to content

Commit

Permalink
usb: usb_device: Remove old extensive logs
Browse files Browse the repository at this point in the history
Make USB logging clearer removing old logs.

Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
  • Loading branch information
finikorg authored and jhedberg committed Jan 7, 2020
1 parent 34fedd6 commit 9618bec
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions subsys/usb/usb_device.c
Original file line number Diff line number Diff line change
Expand Up @@ -212,8 +212,6 @@ static bool usb_handle_request(struct usb_setup_packet *setup,
u32_t type = REQTYPE_GET_TYPE(setup->bmRequestType);
usb_request_handler handler = usb_dev.req_handlers[type];

LOG_DBG("** %d **", type);

if (type >= MAX_NUM_REQ_HANDLERS) {
LOG_DBG("Error Incorrect iType %d", type);
return false;
Expand Down Expand Up @@ -286,7 +284,7 @@ static void usb_handle_control_transfer(u8_t ep,
u32_t chunk = 0U;
struct usb_setup_packet *setup = &usb_dev.setup;

LOG_DBG("ep %x, status %x", ep, ep_status);
LOG_DBG("ep 0x%02x, status 0x%02x", ep, ep_status);

if (ep == USB_CONTROL_OUT_EP0 && ep_status == USB_DC_EP_SETUP) {
u16_t length;
Expand Down

0 comments on commit 9618bec

Please sign in to comment.