astyle files in preparation for 4.2 release

pull/649/head
Michael Black W9MDB 2021-03-26 14:26:56 -05:00
rodzic 2aec11f5fe
commit dd156f74e2
8 zmienionych plików z 15 dodań i 11 usunięć

Wyświetl plik

@ -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);

Wyświetl plik

@ -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);

Wyświetl plik

@ -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;