* fhandler_serial.cc (fhandler_serial::tcgetattr): Return current baud rate
regardless of current DTR state.
This commit is contained in:
parent
b21413b304
commit
205a575188
@ -1,3 +1,8 @@
|
||||
2005-08-11 Troy Curtiss <trcurtiss@gmail.com>
|
||||
|
||||
* fhandler_serial.cc (fhandler_serial::tcgetattr): Return current baud
|
||||
rate regardless of current DTR state.
|
||||
|
||||
2005-08-11 Christopher Faylor <cgf@timesys.com>
|
||||
|
||||
* dcrt0.cc: Remove ld_preload declaration.
|
||||
|
@ -908,11 +908,6 @@ fhandler_serial::tcgetattr (struct termios *t)
|
||||
memset (t, 0, sizeof (*t));
|
||||
|
||||
/* -------------- Baud rate ------------------ */
|
||||
|
||||
/* If DTR is NOT set, return B0 as our speed */
|
||||
if (dtr != TIOCM_DTR)
|
||||
t->c_cflag = t->c_ospeed = t->c_ispeed = B0;
|
||||
else
|
||||
switch (state.BaudRate)
|
||||
{
|
||||
case CBR_110:
|
||||
|
Loading…
x
Reference in New Issue
Block a user