nfc_target_init: drop explicitely the field
This commit is contained in:
parent
651d88fd15
commit
e276d3e6ba
1 changed files with 3 additions and 0 deletions
|
@ -615,6 +615,9 @@ nfc_target_init (nfc_device_t * pnd, nfc_target_t * pnt, byte_t * pbtRx, size_t
|
||||||
// Deactivate the CRYPTO1 cipher, it may could cause problems when still active
|
// Deactivate the CRYPTO1 cipher, it may could cause problems when still active
|
||||||
if (!nfc_configure (pnd, NDO_ACTIVATE_CRYPTO1, false))
|
if (!nfc_configure (pnd, NDO_ACTIVATE_CRYPTO1, false))
|
||||||
return false;
|
return false;
|
||||||
|
// Drop explicitely the field
|
||||||
|
if (!nfc_configure (pnd, NDO_ACTIVATE_FIELD, false))
|
||||||
|
return false;
|
||||||
|
|
||||||
HAL (target_init, pnd, pnt, pbtRx, pszRx);
|
HAL (target_init, pnd, pnt, pbtRx, pszRx);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue