kopia lustrzana https://github.com/Hamlib/Hamlib
Change rig.c to use some sensible defaults when rig_get_vfo fails
https://github.com/Hamlib/Hamlib/issues/274pull/281/head
rodzic
79fdfe8425
commit
e49f1a9df9
|
@ -925,6 +925,11 @@ int HAMLIB_API rig_open(RIG *rig)
|
|||
{
|
||||
rs->tx_vfo = rs->current_vfo;
|
||||
}
|
||||
else // vfo fails so set some sensible defaults
|
||||
{
|
||||
rs->current_vfo = RIG_VFO_CURR;
|
||||
rs->tx_vfo = RIG_VFO_TX;
|
||||
}
|
||||
|
||||
// try to turn off the screensaver if possible
|
||||
// don't care about the return here...it's just a nice-to-have
|
||||
|
|
Ładowanie…
Reference in New Issue