Changeset 1225 for branches/smartreader/csctapi/protocol_t1.c
- Timestamp:
- 01/14/10 17:33:18 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/smartreader/csctapi/protocol_t1.c
r1186 r1225 418 418 int length, ret; 419 419 420 /* Setup transmission */421 if (ICC_Async_BeginTransmission (t1->icc) != ICC_ASYNC_OK)422 ret = PROTOCOL_T1_ICC_ERROR;423 424 else425 420 { 426 421 /* Send T=1 block */ … … 430 425 if (ICC_Async_Transmit (t1->icc, length, buffer) != ICC_ASYNC_OK) 431 426 { 432 ICC_Async_EndTransmission (t1->icc);433 427 ret = PROTOCOL_T1_ICC_ERROR; 434 428 } … … 484 478 } 485 479 } 486 487 /* End of transmission */488 if (ICC_Async_EndTransmission (t1->icc) != ICC_ASYNC_OK)489 ret = PROTOCOL_T1_ICC_ERROR;490 480 491 481 return ret;
Note:
See TracChangeset
for help on using the changeset viewer.