diff options
author | Martijn Coenen <martijn.coenen@nxp.com> | 2011-01-18 19:41:13 +0100 |
---|---|---|
committer | Martijn Coenen <maco@google.com> | 2011-06-03 15:59:02 -0700 |
commit | 1db6f8ed6317c429ced6d2d7c92fd5a64ffe4015 (patch) | |
tree | e11f2b5936fa796673f0540ad557320abb07c370 /src/phHciNfc_Felica.c | |
parent | 577a6bcb406f4a950dfbdfcaa50328cb7c1fa155 (diff) | |
download | external_libnfc-nxp-1db6f8ed6317c429ced6d2d7c92fd5a64ffe4015.zip external_libnfc-nxp-1db6f8ed6317c429ced6d2d7c92fd5a64ffe4015.tar.gz external_libnfc-nxp-1db6f8ed6317c429ced6d2d7c92fd5a64ffe4015.tar.bz2 |
Implement Felica timeout handling (libNFC).
Change-Id: I1a88ae0807d5ba53a635e31f3c5284906bd40ea2
Diffstat (limited to 'src/phHciNfc_Felica.c')
-rw-r--r-- | src/phHciNfc_Felica.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/phHciNfc_Felica.c b/src/phHciNfc_Felica.c index 1a353a5..2bbb32a 100644 --- a/src/phHciNfc_Felica.c +++ b/src/phHciNfc_Felica.c @@ -58,7 +58,8 @@ #define NXP_FEL_CUR_IDM_PMM_LEN 0x08U #define FELICA_STATUS 0x00U -#define FELICA_TIMEOUT NXP_FELICA_XCHG_TIMEOUT + +uint8_t nxp_nfc_felica_timeout = NXP_FELICA_XCHG_TIMEOUT; /* Presence check command for felica tag */ #define FELICA_REQ_MODE 0x04U @@ -908,7 +909,7 @@ phHciNfc_Send_Felica_Command( hcp_message = &(hcp_packet->msg.message); /* Time out */ - hcp_message->payload[i++] = FELICA_TIMEOUT ; + hcp_message->payload[i++] = nxp_nfc_felica_timeout ; /* Status */ hcp_message->payload[i++] = FELICA_STATUS; |