kopia lustrzana https://github.com/Hamlib/Hamlib
rodzic
67fdf34f22
commit
e68b6f98b5
|
@ -860,7 +860,8 @@ enum rig_conf_e {
|
||||||
RIG_CONF_NUMERIC, /*!< Numeric type integer or real */
|
RIG_CONF_NUMERIC, /*!< Numeric type integer or real */
|
||||||
RIG_CONF_CHECKBUTTON, /*!< on/off type */
|
RIG_CONF_CHECKBUTTON, /*!< on/off type */
|
||||||
RIG_CONF_BUTTON, /*!< Button type */
|
RIG_CONF_BUTTON, /*!< Button type */
|
||||||
RIG_CONF_BINARY /*!< Binary buffer type */
|
RIG_CONF_BINARY, /*!< Binary buffer type */
|
||||||
|
RIG_CONF_INT /*!< Integer */
|
||||||
};
|
};
|
||||||
|
|
||||||
//! @cond Doxygen_Suppress
|
//! @cond Doxygen_Suppress
|
||||||
|
@ -970,7 +971,7 @@ typedef unsigned int ant_t;
|
||||||
|
|
||||||
|
|
||||||
//! @cond Doxygen_Suppress
|
//! @cond Doxygen_Suppress
|
||||||
#define RIG_AGC_LAST -1
|
#define RIG_AGC_LAST 99999
|
||||||
//! @endcond
|
//! @endcond
|
||||||
|
|
||||||
#if 1 // deprecated
|
#if 1 // deprecated
|
||||||
|
|
|
@ -3419,6 +3419,10 @@ declare_proto_rig(get_level)
|
||||||
fprintf(fout, "%f%c", val.f, resp_sep);
|
fprintf(fout, "%f%c", val.f, resp_sep);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case RIG_CONF_INT:
|
||||||
|
fprintf(fout, "%d%c", val.i, resp_sep);
|
||||||
|
break;
|
||||||
|
|
||||||
case RIG_CONF_STRING:
|
case RIG_CONF_STRING:
|
||||||
fprintf(fout, "%s%c", val.s, resp_sep);
|
fprintf(fout, "%s%c", val.s, resp_sep);
|
||||||
break;
|
break;
|
||||||
|
|
Ładowanie…
Reference in New Issue