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:
Romuald Conty 2012-05-30 23:02:56 +00:00
parent 13e1e054c2
commit 62c4ffd0b7

View file

@ -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;