Simply turns off the RF field upon exit.

This commit is contained in:
Romuald Conty 2009-11-20 15:35:09 +00:00
parent 48621a7883
commit 5dc68e68ca

View file

@ -349,6 +349,8 @@ void nfc_disconnect(dev_info* pdi)
{
// Release and deselect all active communications
nfc_initiator_deselect_tag(pdi);
// Disable RF field to avoid heating
nfc_configure(pdi,DCO_ACTIVATE_FIELD,false);
// Disconnect, clean up and release the device
pdi->pdc->disconnect(pdi);
}