diff options
author | henryk <henryk@6dc7ffe9-61d6-0310-9af1-9938baff3ed1> | 2008-03-18 14:26:49 +0000 |
---|---|---|
committer | henryk <henryk@6dc7ffe9-61d6-0310-9af1-9938baff3ed1> | 2008-03-18 14:26:49 +0000 |
commit | d71c1c6501b8b17383815eaa1d5da655a2d928f6 (patch) | |
tree | c57a98ccec8cb46ce57bc4cf156548ba300853b9 /openpicc/application | |
parent | 4911b0749c5af0c675a08934ece060571cb3d65d (diff) |
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
Diffstat (limited to 'openpicc/application')
-rw-r--r-- | openpicc/application/tc_recv.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; } |