summaryrefslogtreecommitdiff
path: root/openpicc/application/usb_print.c
diff options
context:
space:
mode:
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