mirror of
https://github.com/nfc-tools/libnfc.git
synced 2026-03-11 10:03:49 +00:00
Fix r217 build.
This commit is contained in:
@@ -178,7 +178,7 @@ void nfc_disconnect(nfc_device_t* pnd)
|
|||||||
// Release and deselect all active communications
|
// Release and deselect all active communications
|
||||||
nfc_initiator_deselect_tag(pnd);
|
nfc_initiator_deselect_tag(pnd);
|
||||||
// Disable RF field to avoid heating
|
// 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
|
// Disconnect, clean up and release the device
|
||||||
pnd->pdc->disconnect(pnd);
|
pnd->pdc->disconnect(pnd);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user