Be sure that NDO_AUTO_ISO14443_4 is activated by default.

This commit is contained in:
Romuald Conty 2010-09-06 11:16:24 +00:00
parent 18d31cd672
commit 5dbdabcec2

View file

@ -236,8 +236,12 @@ bool nfc_initiator_init(nfc_device_t* pnd)
// Configure the PN53X to be an Initiator or Reader/Writer // Configure the PN53X to be an Initiator or Reader/Writer
if (!pn53x_set_reg(pnd,REG_CIU_CONTROL,SYMBOL_INITIATOR,0x10)) return false; if (!pn53x_set_reg(pnd,REG_CIU_CONTROL,SYMBOL_INITIATOR,0x10)) return false;
// NDO_EASY_FRAMING is activated by default
nfc_configure (pnd, NDO_EASY_FRAMING, true); nfc_configure (pnd, NDO_EASY_FRAMING, true);
// NDO_AUTO_ISO14443_4 is activated by default
nfc_configure (pnd, NDO_AUTO_ISO14443_4, true);
return true; return true;
} }