---------- Forwarded message --------- From: Jim Unroe kc9hi@comcast.net Date: Sat, Apr 17, 2021 at 9:03 PM Subject: [PATCH 4 of 8] [retevis_rt1.py] Add rf.valid_dtcs_codes To: Rock.Unroe@gmail.com
# HG changeset patch # User Jim Unroe rock.unroe@gmail.com # Date 1618682316 14400 # Sat Apr 17 13:58:36 2021 -0400 # Node ID 8c82add6bb09bbbe43fd7740dd11c09074989b53 # Parent 44cbb426abba8f87063f4f18438abc9e257966f0 [retevis_rt1.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 44cbb426abba -r 8c82add6bb09 chirp/drivers/retevis_rt1.py --- a/chirp/drivers/retevis_rt1.py Sat Apr 17 13:54:47 2021 -0400 +++ b/chirp/drivers/retevis_rt1.py Sat Apr 17 13:58:36 2021 -0400 @@ -368,6 +368,7 @@ rf.valid_power_levels = RT1_POWER_LEVELS rf.valid_duplexes = ["", "-", "+", "split", "off"] rf.valid_modes = ["NFM", "FM"] # 12.5 KHz, 25 kHz. + rf.valid_dtcs_codes = RT1_DTCS rf.memory_bounds = (1, 16) rf.valid_tuning_steps = [2.5, 5., 6.25, 10., 12.5, 25.] if self._mmap is None: