kopia lustrzana https://github.com/Hamlib/Hamlib
Turn off 60M split for Yaesu rigs (e.g. FTDX-10) that have to use memory mode for 60M band
rodzic
810da5f54c
commit
824a6d11fc
|
@ -771,7 +771,16 @@ int newcat_set_freq(RIG *rig, vfo_t vfo, freq_t freq)
|
|||
|
||||
ENTERFUNC;
|
||||
|
||||
if (newcat_60m_exception(rig, freq)) { RETURNFUNC(RIG_OK); } // we don't set freq in this case
|
||||
if (newcat_60m_exception(rig, freq))
|
||||
{
|
||||
// we don't try to set freq on 60m for some rigs since we must be in memory mode
|
||||
// and we can't run split mode on 60M memory mode either
|
||||
if (rig->state.cache.split == RIG_SPLIT_ON)
|
||||
{
|
||||
rig_set_split_vfo(rig, RIG_VFO_A, RIG_VFO_A, RIG_SPLIT_OFF);
|
||||
}
|
||||
RETURNFUNC(RIG_OK);
|
||||
} // we don't set freq in this case
|
||||
|
||||
if (!newcat_valid_command(rig, "FA"))
|
||||
{
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
typedef char ncboolean;
|
||||
|
||||
/* shared function version */
|
||||
#define NEWCAT_VER "20220730"
|
||||
#define NEWCAT_VER "20220816"
|
||||
|
||||
/* Hopefully large enough for future use, 128 chars plus '\0' */
|
||||
#define NEWCAT_DATA_LEN 129
|
||||
|
|
Ładowanie…
Reference in New Issue