kopia lustrzana https://github.com/Hamlib/Hamlib
Update Prosistel backend model variable names
rodzic
219b1635a1
commit
0b52d2a6c3
|
@ -424,31 +424,31 @@
|
|||
|
||||
|
||||
/**
|
||||
* \def ROT_MODEL_PROSISTEL_AZ
|
||||
* \brief A macro that returns the model number of the PROSISTEL azimuth backend.
|
||||
* \def ROT_MODEL_PROSISTEL_D_AZ
|
||||
* \brief A macro that returns the model number of the PROSISTEL D azimuth backend.
|
||||
*
|
||||
*/
|
||||
//! @cond Doxygen_Suppress
|
||||
#define ROT_PROSISTEL 17
|
||||
#define ROT_BACKEND_PROSISTEL "prosistel"
|
||||
//! @endcond
|
||||
#define ROT_MODEL_PROSISTEL_AZ ROT_MAKE_MODEL(ROT_PROSISTEL, 1)
|
||||
#define ROT_MODEL_PROSISTEL_D_AZ ROT_MAKE_MODEL(ROT_PROSISTEL, 1)
|
||||
|
||||
|
||||
/**
|
||||
* \def ROT_MODEL_PROSISTEL_EL
|
||||
* \brief A macro that returns the model number of the PROSISTEL elevation backend.
|
||||
* \def ROT_MODEL_PROSISTEL_D_EL
|
||||
* \brief A macro that returns the model number of the PROSISTEL D elevation backend.
|
||||
*
|
||||
*/
|
||||
#define ROT_MODEL_PROSISTEL_EL ROT_MAKE_MODEL(ROT_PROSISTEL, 2)
|
||||
#define ROT_MODEL_PROSISTEL_D_EL ROT_MAKE_MODEL(ROT_PROSISTEL, 2)
|
||||
|
||||
|
||||
/**
|
||||
* \def ROT_MODEL_PROSISTEL_AZEL_COMBO
|
||||
* \brief A macro that returns the model number of the PROSISTEL azimuth + elevation combo backend.
|
||||
* \brief A macro that returns the model number of the PROSISTEL Combi-Track azimuth + elevation combo backend.
|
||||
*
|
||||
*/
|
||||
#define ROT_MODEL_PROSISTEL_AZEL_COMBO ROT_MAKE_MODEL(ROT_PROSISTEL, 3)
|
||||
#define ROT_MODEL_PROSISTEL_COMBI_TRACK_AZEL ROT_MAKE_MODEL(ROT_PROSISTEL, 3)
|
||||
|
||||
|
||||
/**
|
||||
|
|
|
@ -360,9 +360,9 @@ static const struct prosistel_rot_priv_caps prosistel_rot_combitrack_priv_caps =
|
|||
/*
|
||||
* Prosistel rotator capabilities
|
||||
*/
|
||||
const struct rot_caps prosistel_az_rot_caps =
|
||||
const struct rot_caps prosistel_d_az_rot_caps =
|
||||
{
|
||||
ROT_MODEL(ROT_MODEL_PROSISTEL_AZ),
|
||||
ROT_MODEL(ROT_MODEL_PROSISTEL_D_AZ),
|
||||
.model_name = "D azimuth",
|
||||
.mfg_name = "Prosistel",
|
||||
.version = "20201215.0",
|
||||
|
@ -395,9 +395,9 @@ const struct rot_caps prosistel_az_rot_caps =
|
|||
};
|
||||
|
||||
|
||||
const struct rot_caps prosistel_el_rot_caps =
|
||||
const struct rot_caps prosistel_d_el_rot_caps =
|
||||
{
|
||||
ROT_MODEL(ROT_MODEL_PROSISTEL_EL),
|
||||
ROT_MODEL(ROT_MODEL_PROSISTEL_D_EL),
|
||||
.model_name = "D elevation",
|
||||
.mfg_name = "Prosistel",
|
||||
.version = "20201215.0",
|
||||
|
@ -430,9 +430,9 @@ const struct rot_caps prosistel_el_rot_caps =
|
|||
};
|
||||
|
||||
|
||||
const struct rot_caps prosistel_azel_combo_rot_caps =
|
||||
const struct rot_caps prosistel_combi_track_azel_rot_caps =
|
||||
{
|
||||
ROT_MODEL(ROT_MODEL_PROSISTEL_AZEL_COMBO),
|
||||
ROT_MODEL(ROT_MODEL_PROSISTEL_COMBI_TRACK_AZEL),
|
||||
.model_name = "Combi-Track az+el",
|
||||
.mfg_name = "Prosistel",
|
||||
.version = "20201215.0",
|
||||
|
@ -468,9 +468,9 @@ DECLARE_INITROT_BACKEND(prosistel)
|
|||
{
|
||||
rig_debug(RIG_DEBUG_VERBOSE, "%s: _init called\n", __func__);
|
||||
|
||||
rot_register(&prosistel_az_rot_caps);
|
||||
rot_register(&prosistel_el_rot_caps);
|
||||
rot_register(&prosistel_azel_combo_rot_caps);
|
||||
rot_register(&prosistel_d_az_rot_caps);
|
||||
rot_register(&prosistel_d_el_rot_caps);
|
||||
rot_register(&prosistel_combi_track_azel_rot_caps);
|
||||
|
||||
return RIG_OK;
|
||||
}
|
||||
|
|
|
@ -22,9 +22,8 @@
|
|||
#ifndef _ROT_PROSISTEL_H
|
||||
#define _ROT_PROSISTEL_H 1
|
||||
|
||||
|
||||
extern const struct rot_caps prosistel_az_rot_caps;
|
||||
extern const struct rot_caps prosistel_el_rot_caps;
|
||||
extern const struct rot_caps prosistel_azel_combo_rot_caps;
|
||||
extern const struct rot_caps prosistel_d_az_rot_caps;
|
||||
extern const struct rot_caps prosistel_d_el_rot_caps;
|
||||
extern const struct rot_caps prosistel_combi_track_azel_rot_caps;
|
||||
|
||||
#endif /* _ROT_PROSISTEL_H */
|
||||
|
|
Ładowanie…
Reference in New Issue