Fix FLRig to expire VFOB cache when VFOA mode is set

pull/155/head
Michael Black 2019-12-18 10:41:00 -06:00
rodzic bda8b623df
commit a052ea4003
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 6599353EC683404D
2 zmienionych plików z 5 dodań i 1 usunięć

Wyświetl plik

@ -1257,6 +1257,10 @@ static int flrig_set_mode(RIG *rig, vfo_t vfo, rmode_t mode, pbwidth_t width)
{
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));
}

Wyświetl plik

@ -28,7 +28,7 @@
#include <sys/time.h>
#endif
#define BACKEND_VER "1.11"
#define BACKEND_VER "1.12"
#define EOM "\r"
#define TRUE 1