kopia lustrzana https://github.com/Hamlib/Hamlib
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-79ac388436b8Hamlib-1.2.10
rodzic
fe43cf0e26
commit
299aba9233
|
@ -1,6 +1,7 @@
|
||||||
/*
|
/*
|
||||||
* Hamlib Interface - serial communication low-level support
|
* 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
|
* Parts of the PTT handling are derived from soundmodem, an excellent
|
||||||
* ham packet softmodem written by Thomas Sailer, HB9JNX.
|
* 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) {
|
switch(rp->parm.serial.rate) {
|
||||||
|
case 150:
|
||||||
|
speed = B150; /* yikes... */
|
||||||
|
break;
|
||||||
case 300:
|
case 300:
|
||||||
speed = B300; /* yikes... */
|
speed = B300; /* yikes... */
|
||||||
break;
|
break;
|
||||||
|
|
Ładowanie…
Reference in New Issue