Changeset 494


Ignore:
Timestamp:
Nov 3, 2009, 4:09:05 PM (10 years ago)
Author:
dingo35
Message:

Clockrate was fixed to 6.0 Mhz, now obeys mhz parameter

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/csctapi/ifd_towitoko.c

    r479 r494  
    5555#define IFD_TOWITOKO_DELAY               0
    5656#define IFD_TOWITOKO_BAUDRATE            9600
    57 #define IFD_TOWITOKO_PS                  15
     57//#define IFD_TOWITOKO_PS                  15
    5858#define IFD_TOWITOKO_MAX_TRANSMIT        255
    5959//#define IFD_TOWITOKO_ATR_TIMEOUT   200
     
    856856IFD_Towitoko_GetClockRate (IFD * ifd)
    857857{
    858     return IFD_TOWITOKO_CLOCK_RATE;
    859 /*  extern int mhz;
     858    //return IFD_TOWITOKO_CLOCK_RATE;
     859    extern int mhz;
    860860    cs_log("CLOCK RATE IS %i in 10kHz steps",mhz);
    861     return mhz * 10000; */
     861    return mhz * 10000L;
    862862}
    863863
Note: See TracChangeset for help on using the changeset viewer.