pull/649/head
Michael Black W9MDB 2021-03-17 07:56:27 -05:00
rodzic 4201beafcd
commit ab59951e97
2 zmienionych plików z 3 dodań i 2 usunięć

Wyświetl plik

@ -6482,7 +6482,8 @@ int icom_set_powerstat(RIG *rig, powerstat_t status)
RETURNFUNC(retval);
}
if (status == RIG_POWER_OFF && (ack_len != 1 || (ack_len >= 1 && ackbuf[0] != ACK)))
if (status == RIG_POWER_OFF && (ack_len != 1 || (ack_len >= 1
&& ackbuf[0] != ACK)))
{
rig_debug(RIG_DEBUG_ERR, "%s: ack NG (%#.2x), len=%d\n", __func__,
ackbuf[0], ack_len);

Wyświetl plik

@ -1405,7 +1405,7 @@ static int set_cache_freq(RIG *rig, vfo_t vfo, freq_t freq)
}
// if freq == 0 then we are asking to invalidate the cache
if (freq == 0) flag = HAMLIB_ELAPSED_INVALIDATE;
if (freq == 0) { flag = HAMLIB_ELAPSED_INVALIDATE; }
// pick a sane default
if (vfo == RIG_VFO_NONE || vfo == RIG_VFO_CURR) { vfo = RIG_VFO_A; }