Changeset 4131


Ignore:
Timestamp:
12/17/10 08:45:48 (12 years ago)
Author:
dingo35
Message:

icc_async.c: Fix compile error for SCI devices

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/csctapi/icc_async.c

    r4126 r4131  
    933933        if (!(atr->hbn >= 6 && !memcmp(atr->hb, "IRDETO", 6) && reader->protocol_type == ATR_PROTOCOL_TYPE_T14))
    934934            ETU = F / d;
    935         call (Sci_WriteSettings (reader, reader->protocol_type, reader->mhz / 100, ETU, WWT, reader->BWT, reader->CWT, EGT, (unsigned char)P, (unsigned char)I));
     935        call (Sci_WriteSettings (reader, reader->protocol_type, reader->mhz / 100, ETU, WWT, reader->BWT, reader->CWT, EGT, 5, (unsigned char)I)); //P fixed at 5V since this is default class A card, and TB is deprecated
    936936#elif COOL
    937937        call (Cool_SetClockrate(reader->mhz));
Note: See TracChangeset for help on using the changeset viewer.