From 91d7c0124ffbd1d320fbdc5d3e479a6c5fa04c5d 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 98afb2683..ef301b1da 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) {