From 071e2e6fc8b6ad9a407ad3bfc26b8c189d633625 Mon Sep 17 00:00:00 2001 From: "(no author)" <(no author)@6dc7ffe9-61d6-0310-9af1-9938baff3ed1> Date: Sun, 23 Jul 2006 15:44:10 +0000 Subject: - message about not implemented VFIFO stuff - fix length of read fifo packets git-svn-id: https://svn.openpcd.org:2342/trunk@23 6dc7ffe9-61d6-0310-9af1-9938baff3ed1 --- openpcd/firmware/src/main.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/openpcd/firmware/src/main.c b/openpcd/firmware/src/main.c index 45f4aa7..9536829 100644 --- a/openpcd/firmware/src/main.c +++ b/openpcd/firmware/src/main.c @@ -86,6 +86,7 @@ static int usb_in(struct req_ctx *rctx) break; case OPENPCD_CMD_WRITE_VFIFO: DEBUGP("WRITE VFIFO "); + DEBUGP("NOT IMPLEMENTED YET "); break; case OPENPCD_CMD_READ_REG: DEBUGP("READ REG(0x%02x) ", poh->reg); @@ -94,9 +95,11 @@ static int usb_in(struct req_ctx *rctx) case OPENPCD_CMD_READ_FIFO: DEBUGP("READ FIFO(len=%u) ", poh->len); pih->len = rc632_fifo_read(poh->len, pih->data); + rctx->tx.tot_len += pih->len; break; case OPENPCD_CMD_READ_VFIFO: DEBUGP("READ VFIFO "); + DEBUGP("NOT IMPLEMENTED YET "); break; case OPENPCD_CMD_SET_LED: DEBUGP("SET LED(%u,%u) ", poh->reg, poh->val); -- cgit v1.2.3