nfc_target_t have now nfc_modulation_t instead of nfc_modulatation_type_t

This commit is contained in:
Romuald Conty 2010-10-13 19:17:51 +00:00
parent 584a18ec11
commit 979430ecd1
10 changed files with 47 additions and 19 deletions

View file

@ -132,7 +132,8 @@ main (int argc, char *argv[])
// Note: We have to build a "fake" nfc_target_t in order to do exactly the same that was done before the new nfc_target_init() was introduced.
nfc_target_t nt = {
.nmt = NMT_ISO14443A,
.nm.nmt = NMT_ISO14443A,
.nm.nbr = NBR_UNDEFINED,
.nti.nai.abtAtqa = { 0x04, 0x00 },
.nti.nai.abtUid = { 0xde, 0xad, 0xbe, 0xaf },
.nti.nai.btSak = 0x20,