Some optimisations in initialisation of registers
This commit is contained in:
parent
2a9f876363
commit
21dfe81d0b
5 changed files with 59 additions and 48 deletions
|
|
@ -127,11 +127,11 @@ main (int argc, const char *argv[])
|
|||
|
||||
printf ("Connected to NFC device: %s\n", pnd->acName);
|
||||
|
||||
nfc_modulation_t nm;
|
||||
|
||||
nm.nmt = NMT_ISO14443A;
|
||||
nm.nbr = NBR_106;
|
||||
// List ISO14443A targets
|
||||
nfc_modulation_t nm = {
|
||||
.nmt = NMT_ISO14443A,
|
||||
.nbr = NBR_106,
|
||||
};
|
||||
if (nfc_initiator_list_passive_targets (pnd, nm, ant, MAX_TARGET_COUNT, &szTargetFound)) {
|
||||
size_t n;
|
||||
if (verbose || (szTargetFound > 0)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue