kopia lustrzana https://github.com/Hamlib/Hamlib
declare M2 and ARS backends
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2894 7ae35d74-ebe9-4afe-98af-79ac388436b8Hamlib-1.2.11
rodzic
022ddda4ad
commit
30f7124435
|
@ -83,6 +83,10 @@
|
|||
%ignore ROT_BACKEND_HEATHKIT;
|
||||
%ignore ROT_SPID;
|
||||
%ignore ROT_BACKEND_SPID;
|
||||
%ignore ROT_M2;
|
||||
%ignore ROT_BACKEND_M2;
|
||||
%ignore ROT_ARS;
|
||||
%ignore ROT_BACKEND_ARS;
|
||||
|
||||
%ignore PRIfreq;
|
||||
%ignore SCNfreq;
|
||||
|
|
|
@ -1,9 +1,8 @@
|
|||
/*
|
||||
* Hamlib Interface - list of known rotators
|
||||
* Copyright (c) 2000-2009 by Stephane Fillod
|
||||
* Copyright (c) 2000-2002 by Stephane Fillod and Frank Singleton
|
||||
* Copyright (c) 2000-2010 by Stephane Fillod
|
||||
* Copyright (c) 2000-2002 by Frank Singleton
|
||||
*
|
||||
* $Id: rotlist.h,v 1.15 2009-01-20 19:42:44 fillods Exp $
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Library General Public License as
|
||||
|
@ -178,6 +177,26 @@
|
|||
#define ROT_BACKEND_SPID "spid"
|
||||
#define ROT_MODEL_SPID ROT_MAKE_MODEL(ROT_SPID, 1)
|
||||
|
||||
/*! \def ROT_MODEL_M2
|
||||
* \brief A macro that returns the model number of the M2 backend.
|
||||
*
|
||||
* The M2 backend can be used with rotators that support the RC2800
|
||||
* protocol and alike.
|
||||
*/
|
||||
#define ROT_M2 10
|
||||
#define ROT_BACKEND_M2 "m2"
|
||||
#define ROT_MODEL_RC2800 ROT_MAKE_MODEL(ROT_M2, 1)
|
||||
|
||||
/*! \def ROT_MODEL_ARS
|
||||
* \brief A macro that returns the model number of the ARS backend.
|
||||
*
|
||||
* The ARS backend can be used with rotators that support the ARS
|
||||
* protocol.
|
||||
*/
|
||||
#define ROT_ARS 11
|
||||
#define ROT_BACKEND_ARS "ars"
|
||||
#define ROT_MODEL_RCI_SE8 ROT_MAKE_MODEL(ROT_ARS, 1)
|
||||
|
||||
/*! \typedef typedef int rot_model_t
|
||||
\brief Convenience type definition for rotator model.
|
||||
*/
|
||||
|
@ -201,6 +220,8 @@ typedef int rot_model_t;
|
|||
{ ROT_KIT, ROT_BACKEND_KIT }, \
|
||||
{ ROT_HEATHKIT, ROT_BACKEND_HEATHKIT }, \
|
||||
{ ROT_SPID, ROT_BACKEND_SPID }, \
|
||||
{ ROT_M2, ROT_BACKEND_M2 }, \
|
||||
{ ROT_ARS, ROT_BACKEND_ARS }, \
|
||||
{ 0, NULL }, /* end */ \
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue