summaryrefslogtreecommitdiff
path: root/openpicc
diff options
context:
space:
mode:
authorhenryk <henryk@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2008-03-18 14:26:49 +0000
committerhenryk <henryk@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2008-03-18 14:26:49 +0000
commitd71c1c6501b8b17383815eaa1d5da655a2d928f6 (patch)
treec57a98ccec8cb46ce57bc4cf156548ba300853b9 /openpicc
parent4911b0749c5af0c675a08934ece060571cb3d65d (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')
-rw-r--r--openpicc/application/tc_recv.c2
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;
}
personal git repositories of Harald Welte. Your mileage may vary