Changeset 72 for trunk/csctapi
- Timestamp:
- 05/17/09 22:02:31 (15 years ago)
- Location:
- trunk/csctapi
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/csctapi/io_serial.c
r71 r72 523 523 printf("IO: SMARTREADER .. switching to frequency to %2.2fMHz\n", (float)mhz/100.0); 524 524 #endif 525 if(!IO_Serial_Set_Smartreader_Freq(io,mhz ))525 if(!IO_Serial_Set_Smartreader_Freq(io,mhz,reader_irdeto_mode)) 526 526 { 527 527 #ifdef DEBUG_IO … … 1123 1123 1124 1124 1125 bool IO_Serial_Set_Smartreader_Freq(IO_Serial * io, int freq )1125 bool IO_Serial_Set_Smartreader_Freq(IO_Serial * io, int freq, int irdeto_mode) 1126 1126 { 1127 1127 struct termios term; … … 1150 1150 // printf("fr = %02x %02x %02x\n" , fr[0],fr[1],fr[2]); 1151 1151 1152 if(irdeto_mode) 1153 nn[1]=0x01; 1154 1152 1155 // send the commands 1153 1156 IO_Serial_Write (io, 0, 4, fi_di); -
trunk/csctapi/io_serial.h
r71 r72 112 112 113 113 /* smartreader Frequency set */ 114 extern bool IO_Serial_Set_Smartreader_Freq(IO_Serial * io, int freq );114 extern bool IO_Serial_Set_Smartreader_Freq(IO_Serial * io, int freq, int irdeto_mode); 115 115 116 116 #endif /* IO_SERIAL */
Note:
See TracChangeset
for help on using the changeset viewer.