Ensure satmode flag is set in icom.c

pull/1626/head
Mike Black W9MDB 2024-09-22 10:31:04 -05:00
rodzic 4613f7d933
commit f63b60a866
2 zmienionych plików z 8 dodań i 1 usunięć

Wyświetl plik

@ -1179,6 +1179,11 @@ retry_open:
{
retval = RIG_OK;
}
else if (retval_echo == -RIG_ETIMEOUT)
{
rig_debug(RIG_DEBUG_ERR, "%s: Unable to determine Icom echo status -- is rig on and connected?\n", __func__);
return retval_echo;
}
else
{
retval = retval_echo;
@ -5640,10 +5645,12 @@ int icom_get_split_vfos(RIG *rig, vfo_t *rx_vfo, vfo_t *tx_vfo)
{
*rx_vfo = RIG_VFO_MAIN;
*tx_vfo = RIG_VFO_SUB;
cachep->satmode = 1;
}
else if (cachep->split == RIG_SPLIT_OFF)
{
*rx_vfo = *tx_vfo = rs->current_vfo;
cachep->satmode = 0;
}
else
{

Wyświetl plik

@ -35,7 +35,7 @@
#include <sys/time.h>
#endif
#define BACKEND_VER "20240831"
#define BACKEND_VER "20240922"
#define ICOM_IS_ID31 rig_is_model(rig, RIG_MODEL_ID31)
#define ICOM_IS_ID51 rig_is_model(rig, RIG_MODEL_ID51)