diff options
author | Martijn Coenen <maco@google.com> | 2011-06-09 15:55:19 +0200 |
---|---|---|
committer | Martijn Coenen <maco@google.com> | 2011-06-09 15:55:19 +0200 |
commit | 01a91eaddd15d39b85c9950eb88a1c6348290556 (patch) | |
tree | 511d6106958a4cdd9e0dcad0f6c8dc6e59a88894 /inc | |
parent | 5a84ba3c21d1df214e8e95beee95ba5dbc4449f5 (diff) | |
download | external_libnfc-nxp-01a91eaddd15d39b85c9950eb88a1c6348290556.zip external_libnfc-nxp-01a91eaddd15d39b85c9950eb88a1c6348290556.tar.gz external_libnfc-nxp-01a91eaddd15d39b85c9950eb88a1c6348290556.tar.bz2 |
Make NfcA timeout configurable in libnfc.
Adds an interface for setting the NfcA timeout, which
is called "mifare raw" in libnfc. Also changed the default,
since it was set to only 2 ms, which is too short for most
commands. Current setting is around 600ms.
Change-Id: I00ccd85cd47a70895a3aca0f0bc34e1b0eab82c7
Diffstat (limited to 'inc')
-rw-r--r-- | inc/phNfcConfig.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/phNfcConfig.h b/inc/phNfcConfig.h index 19a881b..563b7ae 100644 --- a/inc/phNfcConfig.h +++ b/inc/phNfcConfig.h @@ -176,7 +176,7 @@ #endif #ifndef NXP_MIFARE_XCHG_TIMEOUT -#define NXP_MIFARE_XCHG_TIMEOUT 0x03U +#define NXP_MIFARE_XCHG_TIMEOUT 0x0BU #endif #ifndef NXP_FELICA_XCHG_TIMEOUT |