kopia lustrzana https://github.com/Hamlib/Hamlib
astyle files
rodzic
4201beafcd
commit
ab59951e97
|
@ -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);
|
||||
|
|
|
@ -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; }
|
||||
|
|
Ładowanie…
Reference in New Issue