diff options
author | meri <meri@6dc7ffe9-61d6-0310-9af1-9938baff3ed1> | 2007-04-10 17:58:34 +0000 |
---|---|---|
committer | meri <meri@6dc7ffe9-61d6-0310-9af1-9938baff3ed1> | 2007-04-10 17:58:34 +0000 |
commit | 4d1e8b3ce44002d122540ac0141a96dc3e3ad412 (patch) | |
tree | c2d83a21f307ed3f85fb399e16f7eb17866bfdd4 | |
parent | 82eb1ad20501df7c639f95efecf145d343b37e1c (diff) |
decreased USB debug verbosity to allow full debug code inclusion
git-svn-id: https://svn.openpcd.org:2342/trunk@301 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
-rw-r--r-- | firmware/src/os/usb_handler.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/firmware/src/os/usb_handler.c b/firmware/src/os/usb_handler.c index 1754805..029891a 100644 --- a/firmware/src/os/usb_handler.c +++ b/firmware/src/os/usb_handler.c @@ -50,7 +50,7 @@ static int usb_in(struct req_ctx *rctx) usb_cmd_fn *hdlr; int ret; - DEBUGP("usb_in(cls=%d) ", OPENPCD_CMD_CLS(poh->cmd)); +/* DEBUGP("usb_in(cls=%d) ", OPENPCD_CMD_CLS(poh->cmd));*/ if (rctx->tot_len < sizeof(*poh)) return -EINVAL; @@ -71,7 +71,7 @@ static int usb_in(struct req_ctx *rctx) udp_refill_ep(2); } - DEBUGPCR(""); +/* DEBUGPCR("");*/ return (ret & USB_RET_ERR) ? 1 : 0; } @@ -92,8 +92,8 @@ void usb_in_process(void) while (rctx = req_ctx_find_get(0, RCTX_STATE_UDP_RCV_DONE, RCTX_STATE_MAIN_PROCESSING)) { - DEBUGPCRF("found used ctx %u: len=%u", - req_ctx_num(rctx), rctx->tot_len); +/* DEBUGPCRF("found used ctx %u: len=%u", + req_ctx_num(rctx), rctx->tot_len);*/ usb_in(rctx); } udp_unthrottle(); |