From f9f49cc0d00079d3a171303c4bde65e6e1235dec Mon Sep 17 00:00:00 2001 From: Romuald Conty Date: Tue, 1 Dec 2009 10:44:31 +0000 Subject: [PATCH] Fix r217 build. --- src/lib/nfc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/nfc.c b/src/lib/nfc.c index dd5002f..605f854 100644 --- a/src/lib/nfc.c +++ b/src/lib/nfc.c @@ -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); }