Changeset 686 for branches/smartreader
- Timestamp:
- 12/04/09 17:58:22 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/smartreader/reader-nagra.c
r684 r686 356 356 { 357 357 static unsigned char cmd22[] = {0x21, 0x00, 0x09, 0xA0, 0xCA, 0x00, 0x00, 0x04, 0x22, 0x01, 0x01, 0x0E}; 358 int r;358 // int r; 359 359 unsigned char dtactualsize; 360 ushort chid;361 362 360 // ushort chid; 361 // char ds[16], de[16]; 362 // cmd22[0x0A] = dtbyte; 363 363 364 364 while(1) … … 387 387 int DumpDatatypes(void) 388 388 { 389 int r;389 //int r; 390 390 unsigned char dtbyte = 0; 391 391 unsigned short dtflags; … … 400 400 if(!dtflags) 401 401 break; 402 for(dtbyte ; dtbyte < 16; dtbyte++)402 for(dtbyte=0; dtbyte < 16; dtbyte++) 403 403 if(dtflags & (0x01 << dtbyte)) 404 404 //if (dtbyte == 0x01 || dtbyte == 0x08 || dtbyte == 0x00) break;
Note:
See TracChangeset
for help on using the changeset viewer.