summaryrefslogtreecommitdiff
path: root/Rr73Policy.cpp
diff options
context:
space:
mode:
authorhibby <d@vehibberd.com>2026-10-06 21:24:40 +0100
committerhibby <d@vehibberd.com>2026-10-06 21:24:40 +0100
commitc25cbdf6fb6d946175f4335fab77bfea601b56db (patch)
tree6f7a94b7b81f999e434f61b73d47e337dfd26bf2 /Rr73Policy.cpp
parent71f5689252c9f13e70e1c24856904475b2307809 (diff)
parent0685fcada9f95fe90f70b387cd7d757da8209624 (diff)
Merge tag 'debian/3.2.0_rc1+dfsg-2' into debian/trixie-backportsdebian/trixie-backports
tagging wsjtx 3.2.0~rc1+dfsg-2
Diffstat (limited to 'Rr73Policy.cpp')
-rw-r--r--Rr73Policy.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/Rr73Policy.cpp b/Rr73Policy.cpp
new file mode 100644
index 00000000..cecccd0f
--- /dev/null
+++ b/Rr73Policy.cpp
@@ -0,0 +1,15 @@
+#include "Rr73Policy.hpp"
+
+namespace Rr73Policy
+{
+ bool tx4AllowsRr73 (QString const& mode, bool shortMessages)
+ {
+ if ("FT8" == mode || "FT4" == mode || "FST4" == mode)
+ return true;
+
+ if ("MSK144" == mode || "Q65" == mode)
+ return !shortMessages;
+
+ return false;
+ }
+}