kopia lustrzana https://github.com/PianetaRadio/CatRadio
rodzic
664b504a71
commit
910f27bb04
|
@ -270,8 +270,8 @@ void MainWindow::guiInit()
|
|||
ui->lineEdit_vfoSub->setMode(guiConf.vfoDisplayMode);
|
||||
|
||||
//check for targetable sub VFO
|
||||
if (my_rig->caps->rig_model != 2) //Hamlib 4.4 has bug for rigctld and targetable_vfo, skip check
|
||||
{
|
||||
//if (my_rig->caps->rig_model != 2) //Hamlib 4.4 has bug for rigctld and targetable_vfo, skip check
|
||||
//{
|
||||
if (my_rig->caps->targetable_vfo & RIG_TARGETABLE_FREQ) rigCap.freqSub = 1; //targetable frequency
|
||||
else rigCap.freqSub = 0;
|
||||
if (my_rig->caps->targetable_vfo & RIG_TARGETABLE_MODE) rigCap.modeSub = 1; //targetable mode
|
||||
|
@ -282,12 +282,12 @@ void MainWindow::guiInit()
|
|||
rigCap.modeSub = 0; //disable get/set mode for subVFO
|
||||
ui->radioButton_VFOSub->setCheckable(false); //disable VFOsub radio button
|
||||
}
|
||||
}
|
||||
else //NET rigctl, as workaround assume targetable_vfo
|
||||
{
|
||||
rigCap.freqSub = 1;
|
||||
rigCap.modeSub = 1;
|
||||
}
|
||||
//}
|
||||
//else //NET rigctl, as workaround assume targetable_vfo
|
||||
//{
|
||||
// rigCap.freqSub = 1;
|
||||
// rigCap.modeSub = 1;
|
||||
//}
|
||||
|
||||
guiCmd.rangeList = 1; //update range list
|
||||
guiCmd.antList = 1; //update antenna list
|
||||
|
|
Ładowanie…
Reference in New Issue