summaryrefslogtreecommitdiff
path: root/openpicc/application/usb_print.c
diff options
context:
space:
mode:
authorhenryk <henryk@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2008-02-29 08:53:20 +0000
committerhenryk <henryk@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2008-02-29 08:53:20 +0000
commitad5b96d584fc9962a9d8504067cd59697fb9a580 (patch)
treea79230629a87dfbb65603d806467499ec632e4e8 /openpicc/application/usb_print.c
parent4b03b310ffda11b017ce5166012a7139b09eee90 (diff)
New cleaned-up (and then messed up again) SSC code
Better layering separation git-svn-id: https://svn.openpcd.org:2342/trunk@434 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
Diffstat (limited to 'openpicc/application/usb_print.c')
-rw-r--r--openpicc/application/usb_print.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openpicc/application/usb_print.c b/openpicc/application/usb_print.c
index ccde7de..5ff42b8 100644
--- a/openpicc/application/usb_print.c
+++ b/openpicc/application/usb_print.c
@@ -114,7 +114,7 @@ void usb_print_flush(void)
taskEXIT_CRITICAL();
while(newstart != oldstop) {
- vUSBSendByte(ringbuffer[newstart]);
+ vUSBSendByte_blocking(ringbuffer[newstart], 5*portTICK_RATE_MS);
newstart = (newstart+1) % BUFLEN;
}
personal git repositories of Harald Welte. Your mileage may vary