| 219 |
* |
* |
| 220 |
*****************************************************************************/ |
*****************************************************************************/ |
| 221 |
status_t ReadSerial(unsigned int reader_index, |
status_t ReadSerial(unsigned int reader_index, |
| 222 |
/*@unused@*/ unsigned int *length, unsigned char *buffer) |
unsigned int *length, unsigned char *buffer) |
| 223 |
{ |
{ |
| 224 |
unsigned char c; |
unsigned char c; |
| 225 |
int rv; |
int rv; |
| 333 |
goto start; |
goto start; |
| 334 |
} |
} |
| 335 |
|
|
| 336 |
|
/* length of data read */ |
| 337 |
|
*length = to_read; |
| 338 |
|
|
| 339 |
return STATUS_SUCCESS; |
return STATUS_SUCCESS; |
| 340 |
} /* ReadSerial */ |
} /* ReadSerial */ |
| 341 |
|
|