summaryrefslogtreecommitdiff
path: root/openpcd/firmware/src/usb_handler.c
diff options
context:
space:
mode:
Diffstat (limited to 'openpcd/firmware/src/usb_handler.c')
-rw-r--r--openpcd/firmware/src/usb_handler.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/openpcd/firmware/src/usb_handler.c b/openpcd/firmware/src/usb_handler.c
index 4252369..7a736e8 100644
--- a/openpcd/firmware/src/usb_handler.c
+++ b/openpcd/firmware/src/usb_handler.c
@@ -48,6 +48,8 @@ static int usb_in(struct req_ctx *rctx)
DEBUGPCR("no handler for this class\n");
}
+/* Process all pending request contexts that want to Tx on either
+ * IN or INTERRUPT endpoint */
void usb_out_process(void)
{
struct req_ctx *rctx;
@@ -67,6 +69,8 @@ void usb_out_process(void)
}
}
+/* process incoming USB packets (OUT pipe) that have already been
+ * put into request contexts by the UDP IRQ handler */
void usb_in_process(void)
{
struct req_ctx *rctx;
personal git repositories of Harald Welte. Your mileage may vary