From d71c1c6501b8b17383815eaa1d5da655a2d928f6 Mon Sep 17 00:00:00 2001 From: henryk Date: Tue, 18 Mar 2008 14:26:49 +0000 Subject: Remove performance print, it's blocking the IRQ too long which in turn will make the SSC TXSYN IRQ arrive late, which will make the SSC not switch to CONTINUOUS in time which will truncate all frames longer than 3.5 data bytes git-svn-id: https://svn.openpcd.org:2342/trunk@465 6dc7ffe9-61d6-0310-9af1-9938baff3ed1 --- openpicc/application/tc_recv.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'openpicc') diff --git a/openpicc/application/tc_recv.c b/openpicc/application/tc_recv.c index de03028..c98e859 100644 --- a/openpicc/application/tc_recv.c +++ b/openpicc/application/tc_recv.c @@ -109,9 +109,11 @@ static portBASE_TYPE handle_frame(iso14443_frame *frame, portBASE_TYPE task_woke task_woken = xQueueSendFromISR(_tc.rx_queue, &frame, task_woken); } _tc.current_frame = NULL; +#ifdef PRINT_PERFORMANCE int old=usb_print_set_default_flush(0); iso14443a_diffmiller_print_performance(_tc.decoder); usb_print_set_default_flush(old); +#endif return task_woken; } -- cgit v1.2.3