pn53x initiator set registers for ISO14443B-2 ST SRx

Modification to set PN53X_REG_CIU_TxAuto, PN53X_REG_CIU_CWGsP & PN53X_REG_CIU_ModGsP registers values before init.
Avoids a dummy scan in B mode before
This commit is contained in:
Benjamin DELPY 2023-02-12 19:37:04 +01:00
parent 3df7f25f11
commit 5b9ae7ee51
3 changed files with 32 additions and 33 deletions

View file

@ -113,7 +113,7 @@ main(int argc, const char *argv[])
exit(EXIT_FAILURE);
}
// Force TypeB for all derivatives of B
if (mask & 0xf0)
if (mask & 0xd0)
mask |= 0x08;
} else {
ERR("%s is not supported option.", argv[arg]);