kopia lustrzana https://github.com/Hamlib/Hamlib
astyle files in preparation for 4.2 release
rodzic
2aec11f5fe
commit
dd156f74e2
|
@ -871,7 +871,8 @@ static int netrigctl_set_ptt(RIG *rig, vfo_t vfo, ptt_t ptt)
|
|||
char buf[BUF_MAX];
|
||||
char vfostr[16] = "";
|
||||
|
||||
rig_debug(RIG_DEBUG_VERBOSE, "%s called vfo=%s, ptt=%d\n", __func__, rig_strvfo(vfo), ptt);
|
||||
rig_debug(RIG_DEBUG_VERBOSE, "%s called vfo=%s, ptt=%d\n", __func__,
|
||||
rig_strvfo(vfo), ptt);
|
||||
|
||||
ret = netrigctl_vfostr(rig, vfostr, sizeof(vfostr), RIG_VFO_A);
|
||||
|
||||
|
|
|
@ -2233,7 +2233,9 @@ declare_proto_rig(get_vfo_info)
|
|||
}
|
||||
|
||||
const char *modestr = rig_strrmode(mode);
|
||||
if (strlen(modestr) == 0) modestr = "None";
|
||||
|
||||
if (strlen(modestr) == 0) { modestr = "None"; }
|
||||
|
||||
if ((interactive && prompt) || (interactive && !prompt && ext_resp))
|
||||
{
|
||||
fprintf(fout, "%s: %.0f\n", cmd->arg1, freq);
|
||||
|
|
|
@ -491,7 +491,8 @@ int main(int argc, char *argv[])
|
|||
for (unsigned long i = 1; i < 0x80000000; i = i << 1)
|
||||
{
|
||||
const char *vfostr = rig_strvfo(i);
|
||||
if (strlen(vfostr)>0) printf("0x%08lx=%s\n", i, vfostr);
|
||||
|
||||
if (strlen(vfostr) > 0) { printf("0x%08lx=%s\n", i, vfostr); }
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
|
Ładowanie…
Reference in New Issue