kopia lustrzana https://github.com/Hamlib/Hamlib
astyle files
rodzic
3ef3a73b79
commit
e459d4edc2
|
@ -1314,6 +1314,7 @@ static int icom_set_it_new(RIG *rig, vfo_t vfo, shortfreq_t ts, int set_xit)
|
||||||
}
|
}
|
||||||
|
|
||||||
#if 0 // why is this here? We have another function to turn it on/off
|
#if 0 // why is this here? We have another function to turn it on/off
|
||||||
|
|
||||||
if (ts == 0) // Turn off both RIT/XIT
|
if (ts == 0) // Turn off both RIT/XIT
|
||||||
{
|
{
|
||||||
if (rig->caps->has_get_func & RIG_FUNC_XIT)
|
if (rig->caps->has_get_func & RIG_FUNC_XIT)
|
||||||
|
@ -1339,6 +1340,7 @@ static int icom_set_it_new(RIG *rig, vfo_t vfo, shortfreq_t ts, int set_xit)
|
||||||
retval =
|
retval =
|
||||||
icom_set_func(rig, vfo, set_xit ? RIG_FUNC_XIT : RIG_FUNC_RIT, 1);
|
icom_set_func(rig, vfo, set_xit ? RIG_FUNC_XIT : RIG_FUNC_RIT, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
return retval;
|
return retval;
|
||||||
|
|
|
@ -598,6 +598,7 @@ int main(int argc, char *argv[])
|
||||||
handle_socket(arg);
|
handle_socket(arg);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
// cppcheck-suppress *
|
// cppcheck-suppress *
|
||||||
while (retcode == 0);
|
while (retcode == 0);
|
||||||
|
|
||||||
|
|
|
@ -611,6 +611,7 @@ int main(int argc, char *argv[])
|
||||||
handle_socket(arg);
|
handle_socket(arg);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
// cppcheck-suppress *
|
// cppcheck-suppress *
|
||||||
while (retcode == 0);
|
while (retcode == 0);
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue