Changeset 7947
- Timestamp:
- 12/04/12 20:38:20 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/csctapi/io_serial.c
r7944 r7947 295 295 int32_t IO_Serial_SetParity (struct s_reader * reader, unsigned char parity) 296 296 { 297 if(reader->typ == R_INTERNAL)298 return OK;299 300 if ((parity != PARITY_EVEN) && (parity != PARITY_ODD) && (parity != PARITY_NONE))301 return ERROR;302 303 297 struct termios tio; 304 298 int32_t current_parity;
Note:
See TracChangeset
for help on using the changeset viewer.