mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-22 04:11:16 -05:00
Make eliding the useless dummy rig model conditional on it existing
This commit is contained in:
parent
7eab62ec92
commit
e7f9a64566
@ -66,11 +66,14 @@ namespace
|
|||||||
TransceiverFactory::Transceivers * rigs = reinterpret_cast<TransceiverFactory::Transceivers *> (callback_data);
|
TransceiverFactory::Transceivers * rigs = reinterpret_cast<TransceiverFactory::Transceivers *> (callback_data);
|
||||||
|
|
||||||
// We can't use this one because it is only for testing Hamlib and
|
// We can't use this one because it is only for testing Hamlib and
|
||||||
// would confuse users, possibly causing operating on the wrong frequency!
|
// would confuse users, possibly causing operating on the wrong
|
||||||
|
// frequency!
|
||||||
|
#ifdef RIG_MODEL_DUMMY_NOVFO
|
||||||
if (RIG_MODEL_DUMMY_NOVFO == caps->rig_model)
|
if (RIG_MODEL_DUMMY_NOVFO == caps->rig_model)
|
||||||
{
|
{
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
QString key;
|
QString key;
|
||||||
if (RIG_MODEL_DUMMY == caps->rig_model)
|
if (RIG_MODEL_DUMMY == caps->rig_model)
|
||||||
|
Loading…
Reference in New Issue
Block a user