From 4d1e8b3ce44002d122540ac0141a96dc3e3ad412 Mon Sep 17 00:00:00 2001 From: meri Date: Tue, 10 Apr 2007 17:58:34 +0000 Subject: 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 --- firmware/src/os/usb_handler.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'firmware/src') 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(); -- cgit v1.2.3