kopia lustrzana https://github.com/Hamlib/Hamlib
Change kenwood.c to not do a set_vfo if current_vfo already is set
https://github.com/Hamlib/Hamlib/issues/844pull/875/head
rodzic
9d2aaa00c0
commit
0309a34d02
|
@ -1062,6 +1062,12 @@ int kenwood_set_vfo(RIG *rig, vfo_t vfo)
|
||||||
*/
|
*/
|
||||||
if (priv->is_emulation && priv->curr_mode > 0) { RETURNFUNC(RIG_OK); }
|
if (priv->is_emulation && priv->curr_mode > 0) { RETURNFUNC(RIG_OK); }
|
||||||
|
|
||||||
|
if (rig->state.current_vfo == vfo)
|
||||||
|
{
|
||||||
|
rig_debug(RIG_DEBUG_VERBOSE, "%s: vfo already is %s...skipping\n", __func__, rig_strvfo(vfo));
|
||||||
|
RETURNFUNC(RIG_OK);
|
||||||
|
}
|
||||||
|
|
||||||
switch (vfo)
|
switch (vfo)
|
||||||
{
|
{
|
||||||
case RIG_VFO_A:
|
case RIG_VFO_A:
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
#include "token.h"
|
#include "token.h"
|
||||||
#include "misc.h"
|
#include "misc.h"
|
||||||
|
|
||||||
#define BACKEND_VER "20211027"
|
#define BACKEND_VER "20211028"
|
||||||
|
|
||||||
#define EOM_KEN ';'
|
#define EOM_KEN ';'
|
||||||
#define EOM_TH '\r'
|
#define EOM_TH '\r'
|
||||||
|
|
Ładowanie…
Reference in New Issue