summaryrefslogtreecommitdiff
path: root/openpicc
diff options
context:
space:
mode:
authorhenryk <henryk@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2008-03-17 19:42:46 +0000
committerhenryk <henryk@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2008-03-17 19:42:46 +0000
commita18b831b839da7c22eb31d3116038ffc8637e3d5 (patch)
treedc5a2f8345141279bd41b942137b0e08d78809a4 /openpicc
parent48e2172698435156557d893cdc612b48f05bdf95 (diff)
Use diffmiller performance measurement tools
git-svn-id: https://svn.openpcd.org:2342/trunk@461 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
Diffstat (limited to 'openpicc')
-rw-r--r--openpicc/application/tc_recv.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/openpicc/application/tc_recv.c b/openpicc/application/tc_recv.c
index b8d7234..de03028 100644
--- a/openpicc/application/tc_recv.c
+++ b/openpicc/application/tc_recv.c
@@ -109,6 +109,9 @@ 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;
+ int old=usb_print_set_default_flush(0);
+ iso14443a_diffmiller_print_performance(_tc.decoder);
+ usb_print_set_default_flush(old);
return task_woken;
}
personal git repositories of Harald Welte. Your mileage may vary