/[pcsclite]/trunk/Drivers/ccid/src/ccid_serial.c
ViewVC logotype

Diff of /trunk/Drivers/ccid/src/ccid_serial.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1047 by rousseau, Fri Jul 9 08:22:24 2004 UTC revision 1048 by rousseau, Fri Jul 9 08:25:51 2004 UTC
# Line 554  status_t OpenSerialByName(unsigned int l Line 554  status_t OpenSerialByName(unsigned int l
554          /* perform a command to be sure a GemPC Twin reader is connected          /* perform a command to be sure a GemPC Twin reader is connected
555           * get the reader firmware */           * get the reader firmware */
556          {          {
557                  char tx_buffer[] = "\x02";                  unsigned char tx_buffer[] = "\x02";
558                  char rx_buffer[50];                  unsigned char rx_buffer[50];
559                  int rx_length = sizeof(rx_buffer);                  unsigned int rx_length = sizeof(rx_buffer);
560    
561                  if (IFD_SUCCESS != CmdEscape(lun, tx_buffer, sizeof(tx_buffer),                  if (IFD_SUCCESS != CmdEscape(lun, tx_buffer, sizeof(tx_buffer),
562                          rx_buffer, &rx_length))                          rx_buffer, &rx_length))

Legend:
Removed from v.1047  
changed lines
  Added in v.1048

  ViewVC Help
Powered by ViewVC 1.1.5