summaryrefslogtreecommitdiff
path: root/openpicc/application
diff options
context:
space:
mode:
Diffstat (limited to 'openpicc/application')
-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