Changeset 1224 for trunk/csctapi/protocol_t0.c
- Timestamp:
- 01/14/10 16:41:02 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/csctapi/protocol_t0.c
r1219 r1224 121 121 /* WWT = 960 * WI * (Fi / f) * 1000 milliseconds */ 122 122 double F = (double) atr_f_table[params->FI]; 123 t0->wwt = (long unsigned int) (960 * wi * (F / ICC_Async_GetClockRate ( t0->icc)) * 1000);123 t0->wwt = (long unsigned int) (960 * wi * (F / ICC_Async_GetClockRate ()) * 1000); 124 124 125 125 /* Set timings */ … … 132 132 133 133 #ifdef DEBUG_PROTOCOL 134 printf ("Protocol: T=0: WWT=%d, Clockrate=%lu\n", (int)(t0->wwt),ICC_Async_GetClockRate( t0->icc));134 printf ("Protocol: T=0: WWT=%d, Clockrate=%lu\n", (int)(t0->wwt),ICC_Async_GetClockRate()); 135 135 #endif 136 136 … … 157 157 /* WWT = 960 * WI * (Fi / f) * 1000 milliseconds */ 158 158 double F = (double) atr_f_table[params->FI]; 159 t14->wwt = (long unsigned int) (960 * wi * (F / ICC_Async_GetClockRate ( t14->icc)) * 1000);159 t14->wwt = (long unsigned int) (960 * wi * (F / ICC_Async_GetClockRate ()) * 1000); 160 160 t14->wwt >>= 1; 161 161
Note:
See TracChangeset
for help on using the changeset viewer.