summaryrefslogtreecommitdiffstats
path: root/src/phHciNfc_Generic.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/phHciNfc_Generic.c')
-rw-r--r--src/phHciNfc_Generic.c15
1 files changed, 2 insertions, 13 deletions
diff --git a/src/phHciNfc_Generic.c b/src/phHciNfc_Generic.c
index db78725..4433344 100644
--- a/src/phHciNfc_Generic.c
+++ b/src/phHciNfc_Generic.c
@@ -66,13 +66,7 @@
#if (NXP_NFC_HCI_TIMER == 1)
-#define HCI_RES_DEFAULT_TO 0x5000
-
-#if ((NXP_NFC_HCI_TIMEOUT) < (HCI_RES_DEFAULT_TO))
-#define NXP_HCI_RESPONSE_TIMEOUT (HCI_RES_DEFAULT_TO)
-#else
#define NXP_HCI_RESPONSE_TIMEOUT (NXP_NFC_HCI_TIMEOUT)
-#endif
#include <phOsalNfc_Timer.h>
/** \internal HCI Response Timer to detect the
@@ -83,11 +77,6 @@ static phHciNfc_sContext_t *gpsHciContext= NULL;
#endif /* (NXP_NFC_HCI_TIMER == 1) */
-
-
-
-
-
/*
################################################################################
************************* Function Prototype Declaration ***********************
@@ -99,7 +88,7 @@ static phHciNfc_sContext_t *gpsHciContext= NULL;
static
void
phHciNfc_Response_Timeout (
- uint32_t resp_timer_id
+ uint32_t resp_timer_id
);
#endif /* (NXP_NFC_HCI_TIMER == 1) */
@@ -588,7 +577,7 @@ phHciNfc_Release_Lower(
{
/* Start the HCI Response Timer */
phOsalNfc_Timer_Start( hci_resp_timer_id,
- NXP_HCI_RESPONSE_TIMEOUT, phHciNfc_Response_Timeout );
+ NXP_HCI_RESPONSE_TIMEOUT, phHciNfc_Response_Timeout, NULL);
HCI_DEBUG(" HCI : Timer %X Started \n", hci_resp_timer_id);
}