While we're at it, add support for 150 bps serial devices

git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2703 7ae35d74-ebe9-4afe-98af-79ac388436b8
Hamlib-1.2.10
Stéphane Fillod, F8CFE 2009-06-01 17:02:58 +00:00
rodzic fe43cf0e26
commit 299aba9233
1 zmienionych plików z 5 dodań i 1 usunięć

Wyświetl plik

@ -1,6 +1,7 @@
/*
* Hamlib Interface - serial communication low-level support
* Copyright (c) 2000-2005 by Stephane Fillod and Frank Singleton
* Copyright (c) 2000-2009 by Stephane Fillod
* Copyright (c) 2000-2003 by Frank Singleton
* Parts of the PTT handling are derived from soundmodem, an excellent
* ham packet softmodem written by Thomas Sailer, HB9JNX.
*
@ -166,6 +167,9 @@ int HAMLIB_API serial_setup(hamlib_port_t *rp)
*/
switch(rp->parm.serial.rate) {
case 150:
speed = B150; /* yikes... */
break;
case 300:
speed = B300; /* yikes... */
break;