summaryrefslogtreecommitdiff
path: root/Transceiver/TransceiverFactory.cpp
diff options
context:
space:
mode:
authorChristoph Berg <myon@debian.org>2026-09-26 23:24:28 +0200
committerChristoph Berg <myon@debian.org>2026-09-26 23:24:28 +0200
commit69344560ea394c06ca94acac46a2e4c3e8b7b229 (patch)
treeebc98370a697a9bbd6b973a14fa5113c475c6db7 /Transceiver/TransceiverFactory.cpp
parent3e9d10a67671d0bd5c7b8c3ca8088f1818322eff (diff)
parent059831534c7e884f0a607ed86b582fd00d821731 (diff)
Update upstream source from tag 'upstream/3.2.0_rc1+dfsg'
Update to upstream version '3.2.0~rc1+dfsg' with Debian dir dbff457fd2c3616d5c77b863c7bfb2186ed86047
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;
}