diff options
Diffstat (limited to 'Transceiver/TransceiverFactory.cpp')
| -rw-r--r-- | Transceiver/TransceiverFactory.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Transceiver/TransceiverFactory.cpp b/Transceiver/TransceiverFactory.cpp index 323a882a..9f245908 100644 --- a/Transceiver/TransceiverFactory.cpp +++ b/Transceiver/TransceiverFactory.cpp @@ -1,4 +1,5 @@ #include "TransceiverFactory.hpp" +#include "TxInhibitTransceiver.hpp" #include <QMetaType> @@ -225,6 +226,15 @@ std::unique_ptr<Transceiver> TransceiverFactory::create (ParameterPack const& pa } } + if (supports_tx_inhibit (params.ptt_type)) + { + result.reset (new TxInhibitTransceiver {&logger_, std::move (result)}); + if (target_thread) + { + result->moveToThread (target_thread); + } + } + return result; } |
