summaryrefslogtreecommitdiff
path: root/src/phHciNfc_Emulation.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/phHciNfc_Emulation.c')
-rw-r--r--src/phHciNfc_Emulation.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/phHciNfc_Emulation.c b/src/phHciNfc_Emulation.c
index e01c540..5309f3a 100644
--- a/src/phHciNfc_Emulation.c
+++ b/src/phHciNfc_Emulation.c
@@ -453,7 +453,7 @@ phHciNfc_EmuMgmt_Initialise(
#define NFCIP_ACTIVE_SHIFT 0x03U
#define NFCIP_PASSIVE_MASK 0x07U
uint8_t mode = ( NXP_NFCIP_ACTIVE_DEFAULT << NFCIP_ACTIVE_SHIFT ) |
- ( DEFAULT_NFCIP_MODE_SUPPORT & NFCIP_PASSIVE_MASK );
+ ( DEFAULT_NFCIP_TARGET_MODE_SUPPORT & NFCIP_PASSIVE_MASK );
status = phHciNfc_NfcIP_SetMode( psHciContext, pHwRef,
NFCIP_TARGET, mode);
if(status == NFCSTATUS_PENDING )