kopia lustrzana https://github.com/Hamlib/Hamlib
Fix uninitialized warning in rig.c
https://github.com/Hamlib/Hamlib/issues/762 https://github.com/Hamlib/Hamlib/issues/430pull/776/head
rodzic
f6b54df7c7
commit
b41f706eda
|
@ -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);
|
||||
|
|
Ładowanie…
Reference in New Issue