Another attempt to get icom powerstat working

pull/155/head
Michael Black 2019-12-19 12:07:28 -06:00
rodzic 9882448494
commit dd1184c9e5
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 6599353EC683404D
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -594,7 +594,8 @@ int icom_rig_open(RIG *rig)
rig_debug(RIG_DEBUG_VERBOSE, "%s get_freq retval=%s\n", __func__,
rigerror(retval));
if (retval == RIG_ETIMEOUT || retval == RIG_ERJCTED || retval == RIG_BUSERROR) {
// if (retval == RIG_ETIMEOUT || retval == RIG_ERJCTED || retval == RIG_BUSERROR) {
if (retval != RIG_OK) { // maybe we need powerr on?
retval = rig_set_powerstat(rig, 1);
if (retval != RIG_OK) { rig_debug(RIG_DEBUG_WARN, "%s: unexpected retval here %s\n", __func__, rigerror(retval)); }
}