From a740a7a578cb8a3f53b1b12b2e0833c8dbf4dcff Mon Sep 17 00:00:00 2001 From: laforge Date: Sun, 11 Sep 2005 19:59:05 +0000 Subject: As Juergen Heinzl pointed out, much of my original fwi calculations evaluated to zero due to the integer range limitations. shifting everything to the microsecond range should solve this problem without introducing ugly floating point arithmetics. git-svn-id: https://svn.gnumonks.org/trunk/librfid@1425 e0336214-984f-0b4b-a45f-81c69e1f0ede --- include/rfid/rfid_protocol_tcl.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/rfid/rfid_protocol_tcl.h') diff --git a/include/rfid/rfid_protocol_tcl.h b/include/rfid/rfid_protocol_tcl.h index c0861cd..f0dbcdc 100644 --- a/include/rfid/rfid_protocol_tcl.h +++ b/include/rfid/rfid_protocol_tcl.h @@ -21,9 +21,9 @@ struct tcl_handle { unsigned int fsc; /* max frame size accepted by card */ unsigned int fsd; /* max frame size accepted by reader */ - unsigned int fwt; /* frame waiting time */ + unsigned int fwt; /* frame waiting time (in usec)*/ unsigned char ta; /* divisor information */ - unsigned char sfgt; /* start-up frame guard time */ + unsigned char sfgt; /* start-up frame guard time (in usec) */ /* otherwise determined */ unsigned int cid; /* Card ID */ -- cgit v1.2.3