kopia lustrzana https://github.com/Hamlib/Hamlib
default serial device on BSD systems
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2343 7ae35d74-ebe9-4afe-98af-79ac388436b8Hamlib-1.2.8
rodzic
b3dc2f4713
commit
74495d7dfb
10
src/rig.c
10
src/rig.c
|
@ -1,8 +1,8 @@
|
||||||
/*
|
/*
|
||||||
* Hamlib Interface - main file
|
* Hamlib Interface - main file
|
||||||
* Copyright (c) 2000-2006 by Stephane Fillod and Frank Singleton
|
* Copyright (c) 2000-2008 by Stephane Fillod and Frank Singleton
|
||||||
*
|
*
|
||||||
* $Id: rig.c,v 1.95 2007-11-26 20:54:12 n0nb Exp $
|
* $Id: rig.c,v 1.96 2008-05-04 15:36:23 fillods Exp $
|
||||||
*
|
*
|
||||||
* This library is free software; you can redistribute it and/or modify
|
* This library is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU Library General Public License as
|
* it under the terms of the GNU Library General Public License as
|
||||||
|
@ -30,7 +30,7 @@
|
||||||
* \brief Ham Radio Control Libraries interface
|
* \brief Ham Radio Control Libraries interface
|
||||||
* \author Stephane Fillod
|
* \author Stephane Fillod
|
||||||
* \author Frank Singleton
|
* \author Frank Singleton
|
||||||
* \date 2000-2006
|
* \date 2000-2008
|
||||||
*
|
*
|
||||||
* Hamlib provides a user-callable API, a set of "front-end" routines that
|
* Hamlib provides a user-callable API, a set of "front-end" routines that
|
||||||
* call rig-specific "back-end" routines whichactually communicate with
|
* call rig-specific "back-end" routines whichactually communicate with
|
||||||
|
@ -76,7 +76,7 @@ const char hamlib_version[] = "Hamlib version " PACKAGE_VERSION;
|
||||||
* \brief Hamlib copyright notice
|
* \brief Hamlib copyright notice
|
||||||
*/
|
*/
|
||||||
const char hamlib_copyright[] =
|
const char hamlib_copyright[] =
|
||||||
"Copyright (C) 2000-2007 Stephane Fillod and Frank Singleton\n"
|
"Copyright (C) 2000-2008 Stephane Fillod and Frank Singleton\n"
|
||||||
"This is free software; see the source for copying conditions. There is NO\n"
|
"This is free software; see the source for copying conditions. There is NO\n"
|
||||||
"warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.";
|
"warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.";
|
||||||
|
|
||||||
|
@ -85,6 +85,8 @@ const char hamlib_copyright[] =
|
||||||
|
|
||||||
#if defined(WIN32) && !defined(__CYGWIN__)
|
#if defined(WIN32) && !defined(__CYGWIN__)
|
||||||
#define DEFAULT_SERIAL_PORT "\\\\.\\COM1"
|
#define DEFAULT_SERIAL_PORT "\\\\.\\COM1"
|
||||||
|
#elif BSD
|
||||||
|
#define DEFAULT_SERIAL_PORT "/dev/cuaa0"
|
||||||
#else
|
#else
|
||||||
#define DEFAULT_SERIAL_PORT "/dev/ttyS0"
|
#define DEFAULT_SERIAL_PORT "/dev/ttyS0"
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
/*
|
/*
|
||||||
* Hamlib Interface - main file
|
* Hamlib Interface - main file
|
||||||
* Copyright (c) 2000-2006 by Stephane Fillod and Frank Singleton
|
* Copyright (c) 2000-2008 by Stephane Fillod and Frank Singleton
|
||||||
*
|
*
|
||||||
* $Id: rotator.c,v 1.21 2006-10-15 00:27:52 aa6e Exp $
|
* $Id: rotator.c,v 1.22 2008-05-04 15:36:23 fillods Exp $
|
||||||
*
|
*
|
||||||
* This library is free software; you can redistribute it and/or modify
|
* This library is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU Library General Public License as
|
* it under the terms of the GNU Library General Public License as
|
||||||
|
@ -29,7 +29,7 @@
|
||||||
* \file src/rotator.c
|
* \file src/rotator.c
|
||||||
* \brief Rotator interface
|
* \brief Rotator interface
|
||||||
* \author Stephane Fillod
|
* \author Stephane Fillod
|
||||||
* \date 2000-2006
|
* \date 2000-2008
|
||||||
*
|
*
|
||||||
* Hamlib interface is a frontend implementing rotator wrapper functions.
|
* Hamlib interface is a frontend implementing rotator wrapper functions.
|
||||||
*/
|
*/
|
||||||
|
@ -65,9 +65,12 @@
|
||||||
|
|
||||||
#if defined(WIN32) && !defined(__CYGWIN__)
|
#if defined(WIN32) && !defined(__CYGWIN__)
|
||||||
#define DEFAULT_SERIAL_PORT "\\\\.\\COM1"
|
#define DEFAULT_SERIAL_PORT "\\\\.\\COM1"
|
||||||
|
#elif BSD
|
||||||
|
#define DEFAULT_SERIAL_PORT "/dev/cuaa0"
|
||||||
#else
|
#else
|
||||||
#define DEFAULT_SERIAL_PORT "/dev/ttyS0"
|
#define DEFAULT_SERIAL_PORT "/dev/ttyS0"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(WIN32)
|
#if defined(WIN32)
|
||||||
#define DEFAULT_PARALLEL_PORT "\\\\.\\$VDMLPT1"
|
#define DEFAULT_PARALLEL_PORT "\\\\.\\$VDMLPT1"
|
||||||
#elif defined(HAVE_DEV_PPBUS_PPI_H)
|
#elif defined(HAVE_DEV_PPBUS_PPI_H)
|
||||||
|
|
Ładowanie…
Reference in New Issue