kopia lustrzana https://github.com/Hamlib/Hamlib
Merge branch 'master' of https://github.com/mdblack98/Hamlib into mdblack98-master
commit
eaafd4e4b4
|
@ -2210,14 +2210,14 @@ int kenwood_get_func(RIG *rig, vfo_t vfo, setting_t func, int *status)
|
||||||
case RIG_FUNC_BC: // Most will return BC1 or BC0, if BC2 then BC1 is off
|
case RIG_FUNC_BC: // Most will return BC1 or BC0, if BC2 then BC1 is off
|
||||||
retval = get_kenwood_func(rig, "BC", status);
|
retval = get_kenwood_func(rig, "BC", status);
|
||||||
if (retval == RIG_OK) {
|
if (retval == RIG_OK) {
|
||||||
*status = *status == '1' ? '1': '0';
|
*status = *status == '1' ? 1: 0;
|
||||||
}
|
}
|
||||||
return retval;
|
return retval;
|
||||||
|
|
||||||
case RIG_FUNC_BC2: // TS-890 check Beat Cancel 2 we return boolean true/false
|
case RIG_FUNC_BC2: // TS-890 check Beat Cancel 2 we return boolean true/false
|
||||||
retval = get_kenwood_func(rig, "BC", status);
|
retval = get_kenwood_func(rig, "BC", status);
|
||||||
if (retval == RIG_OK) {
|
if (retval == RIG_OK) {
|
||||||
*status = *status == '2' ? '1': '0';
|
*status = *status == '2' ? 1: 0;
|
||||||
}
|
}
|
||||||
return retval;
|
return retval;
|
||||||
|
|
||||||
|
|
|
@ -735,7 +735,7 @@ const struct rig_caps ts890s_caps =
|
||||||
{RIG_MODE_CW, Hz(200)},
|
{RIG_MODE_CW, Hz(200)},
|
||||||
{RIG_MODE_RTTY, Hz(500)},
|
{RIG_MODE_RTTY, Hz(500)},
|
||||||
{RIG_MODE_AM, kHz(9)},
|
{RIG_MODE_AM, kHz(9)},
|
||||||
{RIG_MODE_FM, kHz(14)},
|
{RIG_MODE_FM, kHz(15)},
|
||||||
RIG_FLT_END,
|
RIG_FLT_END,
|
||||||
},
|
},
|
||||||
.priv = (void *)& ts890s_priv_caps,
|
.priv = (void *)& ts890s_priv_caps,
|
||||||
|
|
Ładowanie…
Reference in New Issue