mirror of
https://github.com/Hamlib/Hamlib
synced 2026-08-13 17:32:05 -04:00
Fix uninitialized warning in rig.c
https://github.com/Hamlib/Hamlib/issues/762 https://github.com/Hamlib/Hamlib/issues/430
This commit is contained in:
parent
f6b54df7c7
commit
b41f706eda
1 changed files with 1 additions and 0 deletions
|
|
@ -2950,6 +2950,7 @@ int HAMLIB_API rig_set_ptt(RIG *rig, vfo_t vfo, ptt_t ptt)
|
|||
/* try and revert even if we had an error above */
|
||||
TRACE;
|
||||
|
||||
rc2 = RIG_OK;
|
||||
if (!targetable_ptt)
|
||||
{
|
||||
rc2 = caps->set_vfo(rig, curr_vfo);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue