artf237573-PN80T-PN553-GEN_MW-atr-not-working-after
diff --git a/halimpl/pn54x/hal/phNxpNciHal.c b/halimpl/pn54x/hal/phNxpNciHal.c
index e4c916c..e8f1077 100644
--- a/halimpl/pn54x/hal/phNxpNciHal.c
+++ b/halimpl/pn54x/hal/phNxpNciHal.c
@@ -3216,6 +3216,7 @@
}
break;
case HAL_NFC_IOCTL_SET_JCP_DWNLD_DISABLE:
+ NXPLOG_NCIHAL_D("HAL_NFC_IOCTL_SET_JCP_DWNLD_DISABLE: \n");
status = phTmlNfc_IoCtl(phTmlNfc_e_SetJcopDwnldDisable);
if(NFCSTATUS_FAILED != status)
{
diff --git a/halimpl/pn54x/tml/phTmlNfc.h b/halimpl/pn54x/tml/phTmlNfc.h
index 03d3d07..996a9d2 100644
--- a/halimpl/pn54x/tml/phTmlNfc.h
+++ b/halimpl/pn54x/tml/phTmlNfc.h
@@ -25,11 +25,14 @@
#ifndef PHTMLNFC_H
#define PHTMLNFC_H
-
-#include <phNfcCommon.h>
#ifndef NXP_NFCC_FEATURES_H
#include <NXP_NFCC_Features.h>
#endif
+#ifndef NXP_ESE_FEATURES_H
+#include <NXP_ESE_Features.h>
+#endif
+#include <phNfcCommon.h>
+
/*
* Message posted by Reader thread upon
* completion of requested operation
@@ -109,15 +112,15 @@
phTmlNfc_e_SetP61IdleMode, /* Set the current P61 mode of operation to Idle*/
phTmlNfc_e_SetP61DisableMode, /* Set the ese vdd gpio to low*/
phTmlNfc_e_SetP61EnableMode, /* Set the ese vdd gpio to high*/
- phTmlNfc_e_RelP61Access, /*Release the P61 lock*/
-#if (NXP_ESE_SVDD_SYNC == TRUE)
- phTmlNfc_e_RelP61SvddWait,
-#endif
phTmlNfc_e_eSEChipRstMode, /* ISO RST of P73*/
+ phTmlNfc_e_RelP61Access, /*Release the P61 lock*/
phTmlNfc_e_SetLegacyPowerScheme,
phTmlNfc_e_SetExtPMUPowerScheme,
- phTmlNfc_e_SetPN67TPowerScheme,
- phTmlNfc_e_SetJcopDwnldEnable,
+ phTmlNfc_e_SetPN67TPowerScheme
+#if (NXP_ESE_SVDD_SYNC == TRUE)
+ ,phTmlNfc_e_RelP61SvddWait
+#endif
+ ,phTmlNfc_e_SetJcopDwnldEnable,
phTmlNfc_e_SetJcopDwnldDisable
#endif
} phTmlNfc_ControlCode_t ; /* Control code for IOCTL call */