Turn off 60M split for Yaesu rigs (e.g. FTDX-10) that have to use memory mode for 60M band

pull/1102/head
Mike Black W9MDB 2022-08-16 09:29:07 -05:00
rodzic 810da5f54c
commit 824a6d11fc
2 zmienionych plików z 11 dodań i 2 usunięć

Wyświetl plik

@ -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"))
{

Wyświetl plik

@ -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