From 7eab62ec922b860914f0c5567614b7bbda57cf1e Mon Sep 17 00:00:00 2001 From: Bill Somerville Date: Sun, 7 Jun 2020 15:47:44 +0100 Subject: [PATCH] Remove testing only Hamlib dummy rig model --- Transceiver/HamlibTransceiver.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Transceiver/HamlibTransceiver.cpp b/Transceiver/HamlibTransceiver.cpp index cf76032d6..1367bf95b 100644 --- a/Transceiver/HamlibTransceiver.cpp +++ b/Transceiver/HamlibTransceiver.cpp @@ -65,6 +65,13 @@ namespace { TransceiverFactory::Transceivers * rigs = reinterpret_cast (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; if (RIG_MODEL_DUMMY == caps->rig_model) {