Initialize RTS/CTS, speed and parity in modem_Create().
This commit is contained in:
parent
4a3762fbfd
commit
9876c443a8
@ -17,7 +17,7 @@
|
||||
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
|
||||
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
*
|
||||
* $Id: modem.c,v 1.77.2.9 1998/02/07 20:49:58 brian Exp $
|
||||
* $Id: modem.c,v 1.77.2.10 1998/02/07 22:22:45 brian Exp $
|
||||
*
|
||||
* TODO:
|
||||
*/
|
||||
@ -97,6 +97,9 @@ modem_Create(const char *name)
|
||||
p->link.Close = modem_Hangup;
|
||||
p->link.Destroy = modem_Destroy;
|
||||
p->fd = -1;
|
||||
p->rts_cts = 1;
|
||||
p->speed = MODEM_SPEED;
|
||||
p->parity = CS8;
|
||||
return p;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user