kopia lustrzana https://github.com/Hamlib/Hamlib
Fix currvfo warning message in kenwood.c
rodzic
3c4b1a83f8
commit
ee6b89d45b
|
@ -1745,6 +1745,7 @@ int kenwood_get_split_vfo_if(RIG *rig, vfo_t rxvfo, split_t *split,
|
|||
switch (priv->info[30])
|
||||
{
|
||||
case '0':
|
||||
rs->rx_vfo = STATE(rig)->current_vfo;
|
||||
if (rs->rx_vfo == RIG_VFO_A)
|
||||
{
|
||||
HAMLIB_TRACE;
|
||||
|
@ -1757,6 +1758,12 @@ int kenwood_get_split_vfo_if(RIG *rig, vfo_t rxvfo, split_t *split,
|
|||
*txvfo = rs->tx_vfo = priv->tx_vfo = (*split
|
||||
&& !transmitting) ? RIG_VFO_B : RIG_VFO_A;
|
||||
}
|
||||
else if (rs->rx_vfo == RIG_VFO_CURR)
|
||||
{
|
||||
HAMLIB_TRACE;
|
||||
*txvfo = rs->tx_vfo = priv->tx_vfo = (*split
|
||||
&& !transmitting) ? RIG_VFO_B : RIG_VFO_A;
|
||||
}
|
||||
else
|
||||
{
|
||||
rig_debug(RIG_DEBUG_WARN, "%s(%d): unknown rx_vfo=%s\n", __func__, __LINE__,
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
#include "token.h"
|
||||
#include "idx_builtin.h"
|
||||
|
||||
#define BACKEND_VER "20240505"
|
||||
#define BACKEND_VER "20240511"
|
||||
|
||||
#define EOM_KEN ';'
|
||||
#define EOM_TH '\r'
|
||||
|
|
Ładowanie…
Reference in New Issue