API change: nfc_initiator_select_tag() is now nfc_initiator_select_passive_target() AND nfc_initiator_deselect_tag() is now nfc_initiator_deselect_target()

This commit is contained in:
Romuald Conty 2010-07-21 10:37:37 +00:00
parent d97876714c
commit 2688de6500
8 changed files with 21 additions and 21 deletions

View file

@ -145,7 +145,7 @@ int main(int argc, const char* argv[])
nfc_configure(pnd,NDO_ACTIVATE_FIELD,true);
// Read the SAM's info
if (!nfc_initiator_select_tag(pnd,NM_ISO14443A_106,NULL,0,&nti)) {
if (!nfc_initiator_select_passive_target(pnd,NM_ISO14443A_106,NULL,0,&nti)) {
ERR("%s", "Reading of SAM info failed.");
return EXIT_FAILURE;
}