---------- Forwarded message --------- From: Jim Unroe kc9hi@comcast.net Date: Sat, Apr 17, 2021 at 9:03 PM Subject: [PATCH 3 of 8] [leixen.py] Add rf.valid_dtcs_codes To: Rock.Unroe@gmail.com
# HG changeset patch # User Jim Unroe rock.unroe@gmail.com # Date 1618682087 14400 # Sat Apr 17 13:54:47 2021 -0400 # Node ID 44cbb426abba8f87063f4f18438abc9e257966f0 # Parent 7638fab721aab6453e3ee830aa8afc5b190c70cd [leixen.py] Add rf.valid_dtcs_codes
This patch adds "rf.valid_dtcs_codes" to the get_features(self) radio features list so CHIRP is aware of the full list of DTCS codes supported by the radio.
related to #8995
diff -r 7638fab721aa -r 44cbb426abba chirp/drivers/leixen.py --- a/chirp/drivers/leixen.py Sat Apr 17 13:49:14 2021 -0400 +++ b/chirp/drivers/leixen.py Sat Apr 17 13:54:47 2021 -0400 @@ -421,6 +421,7 @@ rf.valid_tuning_steps = _STEP_LIST rf.valid_bands = [(136000000, 174000000), (400000000, 470000000)] + rf.valid_dtcs_codes = DTCS_CODES rf.memory_bounds = (1, 199) return rf