Remove testing only Hamlib dummy rig model

This commit is contained in:
Bill Somerville 2020-06-07 15:47:44 +01:00
parent aa52e7d4c6
commit 7eab62ec92
No known key found for this signature in database
GPG Key ID: D864B06D1E81618F

View File

@ -65,6 +65,13 @@ 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
// would confuse users, possibly causing operating on the wrong frequency!
if (RIG_MODEL_DUMMY_NOVFO == caps->rig_model)
{
return 1;
}
QString key; QString key;
if (RIG_MODEL_DUMMY == caps->rig_model) if (RIG_MODEL_DUMMY == caps->rig_model)
{ {