Simply turns off the RF field upon exit.
This commit is contained in:
parent
a3431c8e4c
commit
0286eeecdd
1 changed files with 2 additions and 0 deletions
|
@ -177,6 +177,8 @@ void nfc_disconnect(nfc_device_t* pnd)
|
|||
{
|
||||
// Release and deselect all active communications
|
||||
nfc_initiator_deselect_tag(pnd);
|
||||
// Disable RF field to avoid heating
|
||||
nfc_configure(pdi,DCO_ACTIVATE_FIELD,false);
|
||||
// Disconnect, clean up and release the device
|
||||
pnd->pdc->disconnect(pnd);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue