summaryrefslogtreecommitdiff
path: root/openpicc/application/iso14443_layer3a.h
diff options
context:
space:
mode:
Diffstat (limited to 'openpicc/application/iso14443_layer3a.h')
-rw-r--r--openpicc/application/iso14443_layer3a.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/openpicc/application/iso14443_layer3a.h b/openpicc/application/iso14443_layer3a.h
index 142128e..d398d1f 100644
--- a/openpicc/application/iso14443_layer3a.h
+++ b/openpicc/application/iso14443_layer3a.h
@@ -16,9 +16,11 @@ enum ISO14443_STATES {
};
/******************** RX ************************************/
+/* measured TF->FIQ->SSC TX start delay (~3.480us) in carrier cycles */
+#define TF_FIQ_SSC_DELAY 47
/* standard derived magic values */
-#define ISO14443A_FDT_SHORT_1 1236
-#define ISO14443A_FDT_SHORT_0 1172
+#define ISO14443A_FDT_SHORT_1 (1236-TF_FIQ_SSC_DELAY)
+#define ISO14443A_FDT_SHORT_0 (1172-TF_FIQ_SSC_DELAY)
#ifdef FOUR_TIMES_OVERSAMPLING
/* definitions for four-times oversampling */
personal git repositories of Harald Welte. Your mileage may vary