summaryrefslogtreecommitdiff
path: root/firmware/src/os/usb_handler.c
diff options
context:
space:
mode:
authormeri <meri@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2007-04-10 17:58:34 +0000
committermeri <meri@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2007-04-10 17:58:34 +0000
commit4d1e8b3ce44002d122540ac0141a96dc3e3ad412 (patch)
treec2d83a21f307ed3f85fb399e16f7eb17866bfdd4 /firmware/src/os/usb_handler.c
parent82eb1ad20501df7c639f95efecf145d343b37e1c (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
Diffstat (limited to 'firmware/src/os/usb_handler.c')
-rw-r--r--firmware/src/os/usb_handler.c8
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();
personal git repositories of Harald Welte. Your mileage may vary