kopia lustrzana https://gitlab.com/eliggett/wfview
Check that a second VFO exists
rodzic
f710913950
commit
16063c07f8
|
@ -1092,7 +1092,7 @@ void rigCommander::parseCommand()
|
|||
// This tells us whether we are receiving main or sub data
|
||||
case funcScopeSingleDual:
|
||||
// This tells us whether we are receiving single or dual scopes
|
||||
qInfo(logRig()) << "funcScopeSingleDual" << static_cast<bool>(payloadIn[0]);
|
||||
//qInfo(logRig()) << "funcScopeSingleDual (" << vfo <<") " << static_cast<bool>(payloadIn[0]);
|
||||
value.setValue(static_cast<bool>(payloadIn[0]));
|
||||
break;
|
||||
#if defined __GNUC__
|
||||
|
|
|
@ -3441,7 +3441,7 @@ void wfmain:: getInitialRigState()
|
|||
queue->add(priorityImmediate,funcMonitorGain,false);
|
||||
|
||||
*/
|
||||
if(rigCaps.hasSpectrum && vfos.size())
|
||||
if(rigCaps.hasSpectrum)
|
||||
{
|
||||
queue->add(priorityImmediate,queueItem(funcScopeOnOff,QVariant::fromValue(quint8(1)),false));
|
||||
queue->add(priorityImmediate,queueItem(funcScopeDataOutput,QVariant::fromValue(quint8(1)),false));
|
||||
|
@ -3457,7 +3457,8 @@ void wfmain:: getInitialRigState()
|
|||
auto sr = rigCaps.commands.find(funcScopeSubRef);
|
||||
if (sr != rigCaps.commands.end())
|
||||
{
|
||||
vfos[1]->setRefLimits(sr.value().minVal,sr.value().maxVal);
|
||||
if (vfos.size()>1)
|
||||
vfos[1]->setRefLimits(sr.value().minVal,sr.value().maxVal);
|
||||
queue->add(priorityImmediate,(funcScopeSubRef),false,true);
|
||||
}
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue