mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-21 19:55:20 -05:00
Make eliding the useless dummy rig model conditional on it existing
This commit is contained in:
parent
91d7c0124f
commit
9935ef8706
@ -66,11 +66,14 @@ namespace
|
||||
TransceiverFactory::Transceivers * rigs = reinterpret_cast<TransceiverFactory::Transceivers *> (callback_data);
|
||||
|
||||
// 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)
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
#endif
|
||||
|
||||
QString key;
|
||||
if (RIG_MODEL_DUMMY == caps->rig_model)
|
||||
|
Loading…
Reference in New Issue
Block a user