Raises up default timeout from 250 to 350ms
PN53x sometimes needs more time to compute usual command (ie. with Diagnose/Card Presence when card become unreachable)
This commit is contained in:
parent
13e1e054c2
commit
62c4ffd0b7
1 changed files with 2 additions and 2 deletions
|
@ -3030,8 +3030,8 @@ pn53x_data_new(struct nfc_device *pnd, const struct pn53x_io *io)
|
|||
CHIP_DATA(pnd)->wb_trigged = false;
|
||||
memset(CHIP_DATA(pnd)->wb_mask, 0x00, PN53X_CACHE_REGISTER_SIZE);
|
||||
|
||||
// Set default command timeout (250 ms)
|
||||
CHIP_DATA(pnd)->timeout_command = 250;
|
||||
// Set default command timeout (350 ms)
|
||||
CHIP_DATA(pnd)->timeout_command = 350;
|
||||
|
||||
// Set default ATR timeout (103 ms)
|
||||
CHIP_DATA(pnd)->timeout_atr = 103;
|
||||
|
|
Loading…
Reference in a new issue