Changeset 1124
- Timestamp:
- 01/08/10 16:55:33 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/csctapi/pps.c
r1121 r1124 55 55 static unsigned PPS_GetLength (BYTE * block); 56 56 57 static int PPS_InitICC (PPS * pps , int protocol_selected);57 static int PPS_InitICC (PPS * pps); 58 58 59 59 static int PPS_InitProtocol (PPS * pps, int protocol_selected); … … 269 269 #endif 270 270 271 ret = PPS_InitICC(pps , protocol_selected);271 ret = PPS_InitICC(pps); 272 272 273 273 if (ret != PPS_OK) … … 275 275 276 276 /* Initialize selected protocol with selected parameters */ 277 ret = PPS_InitProtocol (pps, protocol_selected); 277 if (pps->parameters.t == 1) 278 ret = PPS_InitProtocol (pps, 3); //FIXME in practice most T1 cards carry timing parameters in TA3, TB3 and TC3 279 else 280 ret = PPS_InitProtocol (pps, 2); //FIXME T0 cards carry timing parameters in TC2 278 281 279 282 return ret; … … 384 387 } 385 388 386 static int PPS_InitICC (PPS * pps , int selected_protocol)389 static int PPS_InitICC (PPS * pps) 387 390 { 388 391 #ifdef SCI_DEV
Note:
See TracChangeset
for help on using the changeset viewer.