Changeset 1236 for trunk/csctapi/icc_async.c
- Timestamp:
- 01/15/10 16:53:19 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/csctapi/icc_async.c
r1234 r1236 275 275 if (icc->convention == ATR_CONVENTION_INVERSE) 276 276 { 277 if ( IFD_Towitoko_SetParity (icc->ifd, IFD_TOWITOKO_PARITY_ODD) != IFD_TOWITOKO_OK)277 if (!IO_Serial_SetParity (PARITY_ODD)) 278 278 return ICC_ASYNC_IFD_ERROR; 279 279 } 280 280 else if(icc->protocol_type == ATR_PROTOCOL_TYPE_T14) 281 281 { 282 if ( IFD_Towitoko_SetParity (icc->ifd, IFD_TOWITOKO_PARITY_NONE) != IFD_TOWITOKO_OK)282 if (!IO_Serial_SetParity (PARITY_NONE)) 283 283 return ICC_ASYNC_IFD_ERROR; 284 284 } 285 285 else 286 286 { 287 if ( IFD_Towitoko_SetParity (icc->ifd, IFD_TOWITOKO_PARITY_EVEN) != IFD_TOWITOKO_OK)287 if (!IO_Serial_SetParity (PARITY_EVEN)) 288 288 return ICC_ASYNC_IFD_ERROR; 289 289 }
Note:
See TracChangeset
for help on using the changeset viewer.