summaryrefslogtreecommitdiff
path: root/openpicc/application/iso14443_layer3a.c
diff options
context:
space:
mode:
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