Changeset 3198
- Timestamp:
- 09/23/10 14:58:47 (10 years ago)
- Location:
- trunk/csctapi
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/csctapi/atr.c
r3181 r3198 1 //FIXME Not checked on threadsafety yet; after checking please remove this line2 1 /* 3 2 atr.c … … 34 33 */ 35 34 36 unsigned long atr_fs_table[16] = {4000000L, 5000000L, 6000000L, 8000000L, 12000000L, 16000000L, 20000000L, 0, 0, 5000000L, 7500000L, 10000000L, 15000000L, 20000000L, 0, 0};37 38 static unsigned atr_num_ib_table[16] = {0, 1, 1, 2, 1, 2, 2, 3, 1, 2, 2, 3, 2, 3, 3, 4};35 const unsigned long atr_fs_table[16] = {4000000L, 5000000L, 6000000L, 8000000L, 12000000L, 16000000L, 20000000L, 0, 0, 5000000L, 7500000L, 10000000L, 15000000L, 20000000L, 0, 0}; 36 37 static const unsigned atr_num_ib_table[16] = {0, 1, 1, 2, 1, 2, 2, 3, 1, 2, 2, 3, 2, 3, 3, 4}; 39 38 40 39 /* … … 42 41 */ 43 42 44 unsigned atr_f_table[16] = {372, 372, 558, 744, 1116, 1488, 1860, 0, 0, 512, 768, 1024, 1536, 2048, 0, 0};45 46 double atr_d_table[16] = {0, 1, 2, 4, 8, 16, 32, 64, 12, 20, 0.5, 0.25, 0.125, 0.0625, 0.03125, 0.015625};43 const unsigned atr_f_table[16] = {372, 372, 558, 744, 1116, 1488, 1860, 0, 0, 512, 768, 1024, 1536, 2048, 0, 0}; 44 45 const double atr_d_table[16] = {0, 1, 2, 4, 8, 16, 32, 64, 12, 20, 0.5, 0.25, 0.125, 0.0625, 0.03125, 0.015625}; 47 46 //old table has 0 for RFU: 48 47 //double atr_d_table[16] = {0, 1, 2, 4, 8, 16, 0, 0, 0, 0, 0.5, 0.25, 125, 0.0625, 0.03125, 0.015625}; 49 48 50 unsigned atr_i_table[4] = {25, 50, 100, 0};49 const unsigned atr_i_table[4] = {25, 50, 100, 0}; 51 50 52 51 /* -
trunk/csctapi/atr.h
r1926 r3198 98 98 */ 99 99 100 extern unsigned long atr_fs_table[16];101 extern unsigned atr_f_table[16];102 extern double atr_d_table[16];103 extern unsigned atr_i_table[4];100 extern const unsigned long atr_fs_table[16]; 101 extern const unsigned atr_f_table[16]; 102 extern const double atr_d_table[16]; 103 extern const unsigned atr_i_table[4]; 104 104 105 105 /*
Note:
See TracChangeset
for help on using the changeset viewer.