Changeset 375
- Timestamp:
- 09/03/09 18:00:52 (15 years ago)
- Location:
- branches/merlin/csctapi
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/merlin/csctapi/icc_async.c
r346 r375 176 176 int ICC_Async_BeginTransmission(ICC_Async * icc) 177 177 { 178 /* Setup baudrate for this ICC */ 179 if (IFD_Towitoko_SetBaudrate(icc->ifd, icc->baudrate) != IFD_TOWITOKO_OK) 180 return ICC_ASYNC_IFD_ERROR; 181 178 182 /* Setup parity for this ICC */ 179 183 #ifndef NO_PAR_SWITCH … … 189 193 } 190 194 #endif 191 192 /* Setup baudrate for this ICC */193 if (IFD_Towitoko_SetBaudrate(icc->ifd, icc->baudrate) != IFD_TOWITOKO_OK)194 return ICC_ASYNC_IFD_ERROR;195 195 196 196 return ICC_ASYNC_OK; -
branches/merlin/csctapi/pps.c
r154 r375 121 121 ATR_GetParameter(atr, ATR_PARAMETER_D, &(pps->parameters.d)); 122 122 ATR_GetParameter(atr, ATR_PARAMETER_F, &(pps->parameters.f)); 123 124 ret = PPS_InitICC(pps); 125 126 if (ret != PPS_OK) 127 return ret; 123 128 #endif 124 129 }
Note:
See TracChangeset
for help on using the changeset viewer.