diff --git a/icom/icom.c b/icom/icom.c index 67bf347bc..7ba3caa6d 100644 --- a/icom/icom.c +++ b/icom/icom.c @@ -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)); } }