summaryrefslogtreecommitdiff
path: root/Transceiver/TransceiverFactory.cpp
diff options
context:
space:
mode:
authorChristoph Berg <myon@debian.org>2026-09-26 23:24:03 +0200
committerChristoph Berg <myon@debian.org>2026-09-26 23:24:03 +0200
commit059831534c7e884f0a607ed86b582fd00d821731 (patch)
tree76bcb67a78f8aa2654fd34c2ad801a62136b0170 /Transceiver/TransceiverFactory.cpp
parentd83a420f0517d7fc47aeb288a6a0cf4891784fcc (diff)
New upstream version 3.2.0~rc1+dfsgupstream/3.2.0_rc1+dfsg
Diffstat (limited to 'Transceiver/TransceiverFactory.cpp')
-rw-r--r--Transceiver/TransceiverFactory.cpp10
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;
}