Changeset 355 for branches/merlin/csctapi
- Timestamp:
- 08/31/09 00:26:07 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/merlin/csctapi/io_serial.c
r348 r355 75 75 static int _in_echo_read = 0; 76 76 extern int reader_serial_need_dummy_char; 77 78 extern unsigned long reader_serial_bitrate_optimal; 79 extern unsigned long reader_serial_bitrate_effective; 77 80 78 81 int fdmc = (-1); … … 505 508 memset(&newtio, 0, sizeof (newtio)); 506 509 510 /* Save the optimal bitrate value for OScam */ 511 reader_serial_bitrate_optimal = props->output_bitrate; 512 507 513 /* Set the bitrate */ 508 514 #ifdef DEBUG_IO … … 519 525 cfsetospeed(&newtio, IO_Serial_Bitrate(props->output_bitrate)); 520 526 cfsetispeed(&newtio, IO_Serial_Bitrate(props->input_bitrate)); 527 528 /* Save the effective bitrate value for OScam */ 529 reader_serial_bitrate_effective = props->output_bitrate; 521 530 #ifdef OS_LINUX 522 531 } else { … … 554 563 #endif 555 564 } 565 566 /* Save the effective bitrate value for OScam */ 567 reader_serial_bitrate_effective = effective_bitrate; 556 568 } 557 569
Note:
See TracChangeset
for help on using the changeset viewer.