kopia lustrzana https://github.com/Hamlib/Hamlib
astyle files
rodzic
d0f114b178
commit
57c7f2a19f
|
@ -1772,8 +1772,10 @@ int icom_set_vfo(RIG *rig, vfo_t vfo)
|
|||
|
||||
case RIG_VFO_SUB:
|
||||
icvfo = S_SUB;
|
||||
|
||||
// If split is on these rigs can only split on Main/VFOB
|
||||
if (VFO_HAS_MAIN_SUB_A_B_ONLY && priv->split_on) icvfo = S_VFOB;
|
||||
if (VFO_HAS_MAIN_SUB_A_B_ONLY && priv->split_on) { icvfo = S_VFOB; }
|
||||
|
||||
break;
|
||||
|
||||
case RIG_VFO_TX:
|
||||
|
@ -3611,7 +3613,8 @@ int icom_set_split_freq(RIG *rig, vfo_t vfo, freq_t tx_freq)
|
|||
if (VFO_HAS_MAIN_SUB_A_B_ONLY)
|
||||
{
|
||||
// Then we return the VFO to where it was
|
||||
if (save_vfo == RIG_VFO_MAIN && priv->split_on) save_vfo = RIG_VFO_A;
|
||||
if (save_vfo == RIG_VFO_MAIN && priv->split_on) { save_vfo = RIG_VFO_A; }
|
||||
|
||||
rig_debug(RIG_DEBUG_TRACE, "%s: SATMODE rig so setting vfo to %s\n", __func__,
|
||||
rig_strvfo(save_vfo));
|
||||
|
||||
|
|
|
@ -3344,7 +3344,8 @@ int kenwood_get_trn(RIG *rig, int *trn)
|
|||
*/
|
||||
int kenwood_set_powerstat(RIG *rig, powerstat_t status)
|
||||
{
|
||||
int retval = kenwood_transaction(rig, (status == RIG_POWER_ON) ? ";;;;PS1;" : "PS0",
|
||||
int retval = kenwood_transaction(rig,
|
||||
(status == RIG_POWER_ON) ? ";;;;PS1;" : "PS0",
|
||||
NULL, 0);
|
||||
int i = 0;
|
||||
int retry = 3 / rig->state.rigport.retry;
|
||||
|
|
|
@ -79,6 +79,7 @@ int print_caps_sum(const struct rig_caps *caps, void *data)
|
|||
default:
|
||||
printf(fmt1, "Unknown");
|
||||
}
|
||||
|
||||
printf("\t%s\n", caps->macro_name == NULL ? "Unknown" : caps->macro_name);
|
||||
return -1; /* !=0, we want them all ! */
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue