summaryrefslogtreecommitdiff
path: root/openpicc/application/iso14443_layer3a.c
diff options
context:
space:
mode:
authorhenryk <henryk@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2007-12-09 06:49:28 +0000
committerhenryk <henryk@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2007-12-09 06:49:28 +0000
commit8c1bae59f57cd2cffe13234aee94c2b7aa08e8dd (patch)
tree13c5244859d81bdecf92fa67c8103fef31335ff8 /openpicc/application/iso14443_layer3a.c
parentceb643380b02d0d8289e3ad75a495123414ace8c (diff)
Clean up SSC performance metric reporting
git-svn-id: https://svn.openpcd.org:2342/trunk@382 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
Diffstat (limited to 'openpicc/application/iso14443_layer3a.c')
-rw-r--r--openpicc/application/iso14443_layer3a.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openpicc/application/iso14443_layer3a.c b/openpicc/application/iso14443_layer3a.c
index a5db2cd..c4e02cd 100644
--- a/openpicc/application/iso14443_layer3a.c
+++ b/openpicc/application/iso14443_layer3a.c
@@ -162,7 +162,7 @@ void iso14443_layer3a_state_machine (void *pvParameters)
ssc_dma_rx_buffer_t* buffer = NULL;
portBASE_TYPE need_receive = 0, switch_on = 0;
- if(ssc_get_overflows() > 0 && state != ERROR) {
+ if(ssc_get_metric(SSC_ERRORS) > 0 && state != ERROR) {
LAYER3_DEBUG("SSC overflow error, please debug\n\r");
state = ERROR;
}
personal git repositories of Harald Welte. Your mileage may vary