diff options
author | laforge <laforge@e0336214-984f-0b4b-a45f-81c69e1f0ede> | 2005-09-11 19:59:05 +0000 |
---|---|---|
committer | laforge <laforge@e0336214-984f-0b4b-a45f-81c69e1f0ede> | 2005-09-11 19:59:05 +0000 |
commit | a740a7a578cb8a3f53b1b12b2e0833c8dbf4dcff (patch) | |
tree | 71f2ac27ae68aa052a8689c0258009d7c8e6d4e8 /include/rfid | |
parent | a9d8406846ca231a420069b2687156d4a582b38f (diff) |
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
Diffstat (limited to 'include/rfid')
-rw-r--r-- | include/rfid/rfid_layer2_iso14443b.h | 2 | ||||
-rw-r--r-- | include/rfid/rfid_protocol_tcl.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/include/rfid/rfid_layer2_iso14443b.h b/include/rfid/rfid_layer2_iso14443b.h index 72e6155..b35a118 100644 --- a/include/rfid/rfid_layer2_iso14443b.h +++ b/include/rfid/rfid_layer2_iso14443b.h @@ -49,7 +49,7 @@ struct iso14443b_handle { unsigned int fsc; /* max. frame size card */ unsigned int fsd; /* max. frame size reader */ - unsigned int fwt; /* frame waiting time */ + unsigned int fwt; /* frame waiting time (in usec) */ unsigned int mbl; /* maximum buffer length */ 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 */ |