kopia lustrzana https://github.com/Hamlib/Hamlib
Drop redundant token lookups.
rodzic
ba011462ef
commit
8150583541
|
@ -315,7 +315,7 @@ int main(int argc, char *argv[])
|
|||
continue;
|
||||
}
|
||||
|
||||
retcode = amp_set_conf(my_amp, amp_token_lookup(my_amp, mytoken), myvalue);
|
||||
retcode = amp_set_conf(my_amp, lookup, myvalue);
|
||||
|
||||
if (retcode != RIG_OK)
|
||||
{
|
||||
|
|
|
@ -340,7 +340,7 @@ int main(int argc, char *argv[])
|
|||
continue;
|
||||
}
|
||||
|
||||
retcode = amp_set_conf(my_amp, amp_token_lookup(my_amp, mytoken), myvalue);
|
||||
retcode = amp_set_conf(my_amp, lookup, myvalue);
|
||||
|
||||
if (retcode != RIG_OK)
|
||||
{
|
||||
|
|
|
@ -585,7 +585,7 @@ int main(int argc, char *argv[])
|
|||
continue;
|
||||
}
|
||||
|
||||
retcode = rig_set_conf(my_rig, rig_token_lookup(my_rig, mytoken), myvalue);
|
||||
retcode = rig_set_conf(my_rig, lookup, myvalue);
|
||||
|
||||
if (retcode != RIG_OK)
|
||||
{
|
||||
|
|
|
@ -681,7 +681,7 @@ int main(int argc, char *argv[])
|
|||
continue;
|
||||
}
|
||||
|
||||
retcode = rig_set_conf(my_rig, rig_token_lookup(my_rig, mytoken), myvalue);
|
||||
retcode = rig_set_conf(my_rig, lookup, myvalue);
|
||||
|
||||
if (retcode != RIG_OK)
|
||||
{
|
||||
|
|
|
@ -355,7 +355,7 @@ int main(int argc, char *argv[])
|
|||
continue;
|
||||
}
|
||||
|
||||
retcode = rot_set_conf(my_rot, rot_token_lookup(my_rot, mytoken), myvalue);
|
||||
retcode = rot_set_conf(my_rot, lookup, myvalue);
|
||||
|
||||
if (retcode != RIG_OK)
|
||||
{
|
||||
|
|
|
@ -363,7 +363,7 @@ int main(int argc, char *argv[])
|
|||
continue;
|
||||
}
|
||||
|
||||
retcode = rot_set_conf(my_rot, rot_token_lookup(my_rot, mytoken), myvalue);
|
||||
retcode = rot_set_conf(my_rot, lookup, myvalue);
|
||||
|
||||
if (retcode != RIG_OK)
|
||||
{
|
||||
|
|
Ładowanie…
Reference in New Issue