Changeset 4141 for trunk/csctapi/ifd_sc8in1.c
- Timestamp:
- 12/18/10 08:10:55 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/csctapi/ifd_sc8in1.c
r4122 r4141 111 111 if (slot == current_slot) 112 112 return OK; 113 cs_ log("SC8in1: select slot %i", slot);113 cs_debug_mask(D_DEVICE, "SC8in1: select slot %i", slot); 114 114 int res; 115 115 unsigned char tmp[128]; … … 269 269 { 270 270 if (Sc8in1_Card_Changed(reader)|| *in == -1) { 271 cs_debug ("SC8in1: locking for Getstatus for slot %i",reader->slot);271 cs_debug_mask(D_DEVICE, "SC8in1: locking for Getstatus for slot %i",reader->slot); 272 272 pthread_mutex_lock(&sc8in1); 273 cs_debug ("SC8in1: locked for Getstatus for slot %i",reader->slot);273 cs_debug_mask(D_DEVICE, "SC8in1: locked for Getstatus for slot %i",reader->slot); 274 274 int i=readsc8in1(reader); //read cardstatus 275 275 pthread_mutex_unlock(&sc8in1); 276 cs_debug ("SC8in1: unlocked for Getstatus for slot %i",reader->slot);276 cs_debug_mask(D_DEVICE, "SC8in1: unlocked for Getstatus for slot %i",reader->slot); 277 277 if (i < 0) { 278 278 // give some time back to the system .. we're in a thread after all
Note:
See TracChangeset
for help on using the changeset viewer.