Changeset 552 for trunk/csctapi/atr.c


Ignore:
Timestamp:
11/26/09 20:48:05 (12 years ago)
Author:
rorothetroll
Message:

back-ported the smartreader+ code from the merlin branch. Not tested yet but this doesn't break anything.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/csctapi/atr.c

    r70 r552  
    3232 */
    3333
    34 static unsigned long atr_fs_table[16] = {0, 5000000L, 6000000L, 8000000L, 12000000L, 16000000L, 20000000L, 0, 0, 5000000L, 7500000L, 10000000L, 15000000L, 20000000L, 0, 0};
     34static unsigned long atr_fs_table[16] = {3571200L, 5000000L, 6000000L, 8000000L, 12000000L, 16000000L, 20000000L , 0L, 0L, 5000000L, 7500000L, 10000000L, 15000000L, 20000000L , 0L, 0L};
    3535
    3636static unsigned atr_num_ib_table[16] = {0, 1, 1, 2, 1, 2, 2, 3, 1, 2, 2, 3, 2, 3, 3, 4};
     
    4242unsigned atr_f_table[16] = {0, 372, 558, 744, 1116, 1488, 1860, 0, 0, 512, 768, 1024, 1536, 2048, 0, 0};
    4343
    44 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};
     44double atr_d_table[16] = { 0, 1, 2, 4, 8, 16, 32, 0, 12, 20, 0.5, 0.25, 125, 0.0625, 0.03125, 0.015625 };
    4545
    4646unsigned atr_i_table[4] = {25, 50, 100, 0};
Note: See TracChangeset for help on using the changeset viewer.