---------- Forwarded message --------- From: Jim Unroe kc9hi@comcast.net Date: Sat, Apr 17, 2021 at 9:03 PM Subject: [PATCH 2 of 8] [kyd.py] Add rf.valid_dtcs_codes To: Rock.Unroe@gmail.com
# HG changeset patch # User Jim Unroe rock.unroe@gmail.com # Date 1618681754 14400 # Sat Apr 17 13:49:14 2021 -0400 # Node ID 7638fab721aab6453e3ee830aa8afc5b190c70cd # Parent 98e6952e5d8e2f03b0a47ed1cfbd62b2d313f025 [kyd.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 98e6952e5d8e -r 7638fab721aa chirp/drivers/kyd.py --- a/chirp/drivers/kyd.py Sat Apr 17 13:45:48 2021 -0400 +++ b/chirp/drivers/kyd.py Sat Apr 17 13:49:14 2021 -0400 @@ -245,6 +245,7 @@ rf.memory_bounds = (1, 16) rf.valid_tuning_steps = [2.5, 5., 6.25, 10., 12.5, 25.] rf.valid_bands = [(400000000, 520000000)] + rf.valid_dtcs_codes = NC630A_DTCS
return rf