Update kenwood_transaction to improve cache invalidation

pull/345/head
Michael Black W9MDB 2020-07-07 07:10:22 -05:00
rodzic 0db3eafe66
commit a19169a6b0
2 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -275,7 +275,7 @@ int kenwood_transaction(RIG *rig, const char *cmdstr, char *data,
}
if (strlen(cmdstr) > 2 || strcmp(cmdstr, "RX") == 0
|| strcmp(cmdstr, "TX") == 0 || strcmp(cmdstr, "ZZTX") == 0)
|| strncmp(cmdstr, "TX", 2) == 0 || strncmp(cmdstr, "ZZTX", 4) == 0)
{
// then we must be setting something so we'll invalidate the cache
rig_debug(RIG_DEBUG_TRACE, "%s: cache invalidated\n", __func__);

Wyświetl plik

@ -27,7 +27,7 @@
#include <string.h>
#include "token.h"
#define BACKEND_VER "20200624"
#define BACKEND_VER "20200707"
#define EOM_KEN ';'
#define EOM_TH '\r'