Add rig_flush in newcat.c during set_powerstat

pull/1031/head
Mike Black W9MDB 2022-05-09 07:25:39 -05:00
rodzic 434d28cd9a
commit 8865bf6c66
2 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -3298,6 +3298,7 @@ int newcat_set_powerstat(RIG *rig, powerstat_t status)
{
freq_t freq;
hl_usleep(1000000);
rig_flush(&state->rigport);
retval = rig_get_freq(rig, RIG_VFO_A, &freq);
if (retval == RIG_OK)

Wyświetl plik

@ -50,7 +50,7 @@
typedef char ncboolean;
/* shared function version */
#define NEWCAT_VER "20220508"
#define NEWCAT_VER "20220509"
/* Hopefully large enough for future use, 128 chars plus '\0' */
#define NEWCAT_DATA_LEN 129