[chirp_devel] [PATCH] [ic-2300] Add support for tx_inhibit. Fixes #8217

Kosta A.
Sun Mar 7 00:50:24 PST 2021


# HG changeset patch
# User Kosta A. <ve7kcy at gmail.com>
# Date 1615106839 28800
#      Sun Mar 07 00:47:19 2021 -0800
# Node ID 4ef50c9cb287889ca59990ac33db0101343a724e
# Parent  7d96e985768fea578a7cef39209e755ff23a22bd
[ic-2300] Add support for tx_inhibit. Fixes #8217

diff --git a/chirp/drivers/ic2300.py b/chirp/drivers/ic2300.py
--- a/chirp/drivers/ic2300.py
+++ b/chirp/drivers/ic2300.py
@@ -62,7 +62,7 @@
        duplex:2,
        unknown3:1,
        reverse_duplex:1,
-       unknown4:1,
+       tx_inhibit:1,
        display_style:1;
 } memory[200];
 #seekto 0x1340; // channel memory flags
@@ -188,6 +188,12 @@
         rev.set_doc("Reverse duplex")
         mem.extra.append(rev)
 
+        # Tx inhibit
+        tx_inhibit = RadioSetting("tx_inhibit", "TX inhibit",
+                           RadioSettingValueBoolean(bool(_mem.tx_inhibit)))
+        tx_inhibit.set_doc("TX inhibit")
+        mem.extra.append(tx_inhibit)
+
         # Memory display style
         opt = ["Frequency", "Label"]
         dsp = RadioSetting("display_style", "Display style",



More information about the chirp_devel mailing list