Fix r217 build.

This commit is contained in:
Romuald Conty 2009-12-01 10:44:31 +00:00
parent 8a3b8bb3c9
commit f9f49cc0d0

View file

@ -178,7 +178,7 @@ 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);
nfc_configure(pnd,NDO_ACTIVATE_FIELD,false);
// Disconnect, clean up and release the device
pnd->pdc->disconnect(pnd);
}