kopia lustrzana https://github.com/Hamlib/Hamlib
Add rig_flush in newcat.c during set_powerstat
rodzic
434d28cd9a
commit
8865bf6c66
|
@ -3298,6 +3298,7 @@ int newcat_set_powerstat(RIG *rig, powerstat_t status)
|
||||||
{
|
{
|
||||||
freq_t freq;
|
freq_t freq;
|
||||||
hl_usleep(1000000);
|
hl_usleep(1000000);
|
||||||
|
rig_flush(&state->rigport);
|
||||||
retval = rig_get_freq(rig, RIG_VFO_A, &freq);
|
retval = rig_get_freq(rig, RIG_VFO_A, &freq);
|
||||||
|
|
||||||
if (retval == RIG_OK)
|
if (retval == RIG_OK)
|
||||||
|
|
|
@ -50,7 +50,7 @@
|
||||||
typedef char ncboolean;
|
typedef char ncboolean;
|
||||||
|
|
||||||
/* shared function version */
|
/* shared function version */
|
||||||
#define NEWCAT_VER "20220508"
|
#define NEWCAT_VER "20220509"
|
||||||
|
|
||||||
/* Hopefully large enough for future use, 128 chars plus '\0' */
|
/* Hopefully large enough for future use, 128 chars plus '\0' */
|
||||||
#define NEWCAT_DATA_LEN 129
|
#define NEWCAT_DATA_LEN 129
|
||||||
|
|
Ładowanie…
Reference in New Issue