kopia lustrzana https://github.com/Hamlib/Hamlib
Fix FLRig to expire VFOB cache when VFOA mode is set
rodzic
bda8b623df
commit
a052ea4003
|
@ -1257,6 +1257,10 @@ static int flrig_set_mode(RIG *rig, vfo_t vfo, rmode_t mode, pbwidth_t width)
|
||||||
{
|
{
|
||||||
cmd = "rig.set_modeB";
|
cmd = "rig.set_modeB";
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{ // we make VFO_B mode unknown so it expires the cache
|
||||||
|
priv->curr_modeB = RIG_MODE_NONE;
|
||||||
|
}
|
||||||
|
|
||||||
pxml = xml_build(cmd, cmd_buf, xml, sizeof(xml));
|
pxml = xml_build(cmd, cmd_buf, xml, sizeof(xml));
|
||||||
}
|
}
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define BACKEND_VER "1.11"
|
#define BACKEND_VER "1.12"
|
||||||
|
|
||||||
#define EOM "\r"
|
#define EOM "\r"
|
||||||
#define TRUE 1
|
#define TRUE 1
|
||||||
|
|
Ładowanie…
Reference in New Issue