diff options
author | (no author) <(no author)@6dc7ffe9-61d6-0310-9af1-9938baff3ed1> | 2006-07-23 15:44:10 +0000 |
---|---|---|
committer | (no author) <(no author)@6dc7ffe9-61d6-0310-9af1-9938baff3ed1> | 2006-07-23 15:44:10 +0000 |
commit | 071e2e6fc8b6ad9a407ad3bfc26b8c189d633625 (patch) | |
tree | 8d0833ae3fa855478cd7934aaadee71eb4b9f210 | |
parent | 174bf894f8c63d0b75f7ee7a4d7db5ecff6db5f4 (diff) |
- 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
-rw-r--r-- | openpcd/firmware/src/main.c | 3 |
1 files changed, 3 insertions, 0 deletions
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); |