set correctly default timeout values

This commit is contained in:
Romuald Conty 2011-12-14 15:03:29 +00:00
parent 26b9c28f48
commit c181cb35ec

View file

@ -2679,10 +2679,10 @@ pn53x_data_new (nfc_device *pnd, const struct pn53x_io *io)
CHIP_DATA (pnd)->timeout_command = 500;
// Set default ATR timeout (103 ms)
CHIP_DATA (pnd)->timeout_command = 103;
CHIP_DATA (pnd)->timeout_atr = 103;
// Set default communication timeout (52 ms)
CHIP_DATA (pnd)->timeout_command = 52;
CHIP_DATA (pnd)->timeout_communication = 52;
}
void