diff options
author | laforge <laforge@e0336214-984f-0b4b-a45f-81c69e1f0ede> | 2005-09-11 19:59:58 +0000 |
---|---|---|
committer | laforge <laforge@e0336214-984f-0b4b-a45f-81c69e1f0ede> | 2005-09-11 19:59:58 +0000 |
commit | 098ef26c87b27ddac5eb41f1317fe552fe16e3a7 (patch) | |
tree | 20af129bed33a3c942ea7d38eda0cc432e09ba67 /rfid_asic_rc632.c | |
parent | a740a7a578cb8a3f53b1b12b2e0833c8dbf4dcff (diff) |
use 64bit timeout values throughout the code, since some timeouts exceeds 4.8 billion microseconds (seconds).
git-svn-id: https://svn.gnumonks.org/trunk/librfid@1426 e0336214-984f-0b4b-a45f-81c69e1f0ede
Diffstat (limited to 'rfid_asic_rc632.c')
-rw-r--r-- | rfid_asic_rc632.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/rfid_asic_rc632.c b/rfid_asic_rc632.c index 764b7b7..77e4c47 100644 --- a/rfid_asic_rc632.c +++ b/rfid_asic_rc632.c @@ -148,7 +148,7 @@ rc632_power_down(struct rfid_asic_handle *handle) /* Stupid RC623 implementations don't evaluate interrupts but poll the * command register for "status idle" */ int -rc632_wait_idle(struct rfid_asic_handle *handle, unsigned int time) +rc632_wait_idle(struct rfid_asic_handle *handle, u_int64_t timeout) { unsigned char cmd = 0xff; int ret; @@ -182,7 +182,7 @@ int rc632_transmit(struct rfid_asic_handle *handle, const unsigned char *buf, unsigned char len, - unsigned int timeout) + u_int64_t timeout) { int ret; @@ -617,7 +617,7 @@ static int rc632_iso14443a_transcieve(struct rfid_asic_handle *handle, const unsigned char *tx_buf, unsigned int tx_len, unsigned char *rx_buf, unsigned int *rx_len, - unsigned int timeout, unsigned int flags) + u_int64_t timeout, unsigned int flags) { int ret; unsigned char rxl = *rx_len & 0xff; |