summaryrefslogtreecommitdiff
path: root/Transceiver/TransceiverFactory.hpp
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.hpp
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.hpp')
-rw-r--r--Transceiver/TransceiverFactory.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/Transceiver/TransceiverFactory.hpp b/Transceiver/TransceiverFactory.hpp
index 3d9390d8..a579d451 100644
--- a/Transceiver/TransceiverFactory.hpp
+++ b/Transceiver/TransceiverFactory.hpp
@@ -74,6 +74,12 @@ public:
Q_ENUM (Handshake)
enum PTTMethod {PTT_method_VOX, PTT_method_CAT, PTT_method_DTR, PTT_method_RTS};
Q_ENUM (PTTMethod)
+
+ static bool supports_tx_inhibit (PTTMethod method)
+ {
+ return PTT_method_DTR == method || PTT_method_RTS == method;
+ }
+
enum TXAudioSource {TX_audio_source_front, TX_audio_source_rear};
Q_ENUM (TXAudioSource)
enum SplitMode {split_mode_none, split_mode_rig, split_mode_emulate};