(cherry picked from commit 948e9d5f99)
Hamlib-4.0
Michael Black W9MDB 2020-10-23 11:36:42 -05:00 zatwierdzone przez Nate Bargmann
rodzic c46d6cd728
commit 1366190ab6
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: F72625E2EDBED598
3 zmienionych plików z 5 dodań i 2 usunięć

Wyświetl plik

@ -450,9 +450,11 @@ static int dummy_get_freq(RIG *rig, vfo_t vfo, freq_t *freq)
if ((vfo == RIG_VFO_SUB && rig->state.uplink == 1)
|| (vfo == RIG_VFO_MAIN && rig->state.uplink == 2))
{
rig_debug(RIG_DEBUG_TRACE, "%s: uplink=%d, ignoring get_freq\n", __func__, rig->state.uplink);
rig_debug(RIG_DEBUG_TRACE, "%s: uplink=%d, ignoring get_freq\n", __func__,
rig->state.uplink);
return RIG_OK;
}
usleep(CMDSLEEP);
rig_debug(RIG_DEBUG_VERBOSE, "%s called: %s\n", __func__, rig_strvfo(vfo));

Wyświetl plik

@ -4377,6 +4377,7 @@ int newcat_get_func(RIG *rig, vfo_t vfo, setting_t func, int *status)
last_char_index = strlen(retfunc) - 1;
rig_debug(RIG_DEBUG_TRACE, "%s: retfunc='%s'\n", __func__, retfunc);
switch (func)
{
case RIG_FUNC_MN:

Wyświetl plik

@ -588,7 +588,7 @@ int main(int argc, char *argv[])
my_rig->state.twiddle_timeout = twiddle;
my_rig->state.uplink = uplink;
rig_debug(RIG_DEBUG_TRACE, "%s: twiddle=%d, uplink=%d\n", __func__,
my_rig->state.twiddle_timeout, my_rig->state.uplink);
my_rig->state.twiddle_timeout, my_rig->state.uplink);
/*
* ex: RIG_PTT_PARALLEL and /dev/parport0